Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_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.007701/0.007701, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001791/0.001791, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.6424, allocations: 140.3 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002292/0.6448, allocations: 1.518 MB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007442/0.6455, allocations: 0.5609 MB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.6456, allocations: 1.375 kB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.6456, allocations: 7.938 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.6457, allocations: 1.375 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.6459, allocations: 38.89 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.646, allocations: 26.86 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.646, allocations: 8.125 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.6461, allocations: 21.34 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.6462, allocations: 8.125 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6462, allocations: 5.375 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.6463, allocations: 56.64 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.6463, allocations: 1.375 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.6463, allocations: 14.67 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.6464, allocations: 40.94 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6464, allocations: 0 / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6464, allocations: 0 / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6465, allocations: 0 / 0.9518 GB, free: 7.375 MB / 0.7169 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.0003166/0.6468, allocations: 355.7 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6468, allocations: 13.36 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.6469, allocations: 11.28 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.6469, allocations: 171 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.647, allocations: 384 / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.647, allocations: 1.812 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.6471, allocations: 53.64 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.6471, allocations: 1.406 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-06/0.6471, allocations: 3.938 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.6471, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.6472, allocations: 19.92 kB / 0.9524 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.6475, allocations: 259.4 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.6475, allocations: 32.53 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.6476, allocations: 15.02 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.6483, allocations: 479.6 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.6483, allocations: 40.22 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6483, allocations: 0 / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002126/0.6485, allocations: 59.02 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.6486, allocations: 56.94 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.6486, allocations: 111.2 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.6486, allocations: 25.7 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.6487, allocations: 85.55 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.6487, allocations: 5.281 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.6487, allocations: 16.55 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.6488, allocations: 312.3 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.6488, allocations: 13.42 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.6488, allocations: 13.66 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.6489, allocations: 29.12 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6489, allocations: 0 / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.649, allocations: 58.84 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6491, allocations: 4.719 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6491, allocations: 1.375 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6491, allocations: 3.984 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.6491, allocations: 7.844 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.6492, allocations: 1.281 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.6492, allocations: 5.281 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.6492, allocations: 1.25 kB / 0.954 GB, free: 5.059 MB / 0.7169 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 4.245e-05/0.6493, allocations: 118.9 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.6493, allocations: 6.469 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.6494, allocations: 57.78 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6494, allocations: 8.016 kB / 0.9542 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6495, allocations: 1.531 kB / 0.9542 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6495, allocations: 0 / 0.9542 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.6496, allocations: 159.9 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6496, allocations: 0 / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.6496, allocations: 9.016 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.6496, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.6496, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6496, allocations: 1.344 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6497, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.6498, allocations: 169.2 kB / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.6498, allocations: 78.7 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.6498, allocations: 0 / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.6499, allocations: 1.594 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.6499, allocations: 1.438 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.6499, allocations: 5.562 kB / 0.9546 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.65, allocations: 89.7 kB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.65, allocations: 4 kB / 0.9547 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.6502, allocations: 11.84 kB / 0.9547 GB, free: 4.32 MB / 0.7169 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.0001443/0.6504, allocations: 120.4 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.6505, allocations: 26.02 kB / 0.9548 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6505, allocations: 0 / 0.9548 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.6505, allocations: 12.36 kB / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.6508, allocations: 15.86 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.651, allocations: 154.7 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.6511, allocations: 0.679 MB / 0.9557 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.6512, allocations: 8.594 kB / 0.9557 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6512, allocations: 0 / 0.9557 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.00199/0.6532, allocations: 0.8054 MB / 0.9565 GB, free: 2.922 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches