Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7162, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002382/0.7186, allocations: 1.461 MB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.7195, allocations: 0.5604 MB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.7196, allocations: 0 / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.7196, allocations: 3.938 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.074e-05/0.7196, allocations: 7.922 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.7199, allocations: 55.81 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.72, allocations: 31.86 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.7201, allocations: 8 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.7201, allocations: 15.92 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.7202, allocations: 7.938 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.7202, allocations: 4 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.7203, allocations: 51.94 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.7203, allocations: 7.938 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.7204, allocations: 15.92 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.7205, allocations: 68.78 kB / 1.17 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7205, allocations: 4 kB / 1.17 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7205, allocations: 0 / 1.17 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7205, allocations: 0 / 1.17 GB, free: 1.688 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004224/0.721, allocations: 359.2 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.721, allocations: 8.922 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.721, allocations: 0.9375 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.7212, allocations: 168.3 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.7212, allocations: 384 / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.7212, allocations: 384 / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.7213, allocations: 53.94 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.7214, allocations: 4 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.7214, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.7214, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.7215, allocations: 23.97 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.7218, allocations: 252.9 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.7219, allocations: 42.55 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.7219, allocations: 8.922 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000804/0.7228, allocations: 485.3 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7228, allocations: 34.56 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7228, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000234/0.723, allocations: 69.81 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.7231, allocations: 51.41 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.7232, allocations: 105.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.7232, allocations: 25.7 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.7232, allocations: 88.14 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.7233, allocations: 12 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.7233, allocations: 17.72 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7234, allocations: 314.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.7235, allocations: 7.984 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.7235, allocations: 15.94 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.642e-05/0.7236, allocations: 28.59 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7236, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.7237, allocations: 53.75 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7237, allocations: 8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7238, allocations: 3.984 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7238, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.7238, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.7238, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.7239, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.7239, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.724, allocations: 125.7 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.724, allocations: 7.953 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.7242, allocations: 57.2 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7242, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7242, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.7242, allocations: 3.938 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.7244, allocations: 165.6 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7244, allocations: 0 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.7244, allocations: 7.984 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7244, allocations: 4.031 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.7244, allocations: 3.938 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7244, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7244, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.7246, allocations: 159.4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.7247, allocations: 81.06 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.7247, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.7247, allocations: 8.031 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.7248, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.7248, allocations: 3.984 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.7248, allocations: 91.58 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7248, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002196/0.7251, allocations: 15.94 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.7252, allocations: 111.2 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.7254, allocations: 31.92 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7254, allocations: 0 / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.7254, allocations: 15.98 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.7256, allocations: 6.438 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.7259, allocations: 122.5 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.7262, allocations: 0.6768 MB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.7262, allocations: 8.125 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.7262, allocations: 11.44 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7262, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.002615/0.7289, allocations: 0.6762 MB / 1.174 GB, free: 12.63 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches