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.0009572/0.0009569, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.348 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.407/2.407, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 8 kB / 0.8166 GB, free: 13.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6777, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001495/0.6793, allocations: 1.181 MB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.6802, allocations: 0.5557 MB / 0.9574 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.6802, allocations: 4 kB / 0.9574 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.6803, allocations: 3.938 kB / 0.9574 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.6803, allocations: 5 kB / 0.9574 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.6806, allocations: 36.73 kB / 0.9574 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.6807, allocations: 22.44 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.6808, allocations: 7.797 kB / 0.9575 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.6809, allocations: 16.98 kB / 0.9575 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.6809, allocations: 20.42 kB / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.6809, allocations: 0 / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.6811, allocations: 53.17 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.6811, allocations: 1.031 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.6811, allocations: 44.81 kB / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.6812, allocations: 39.97 kB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6812, allocations: 1.281 kB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6813, allocations: 0 / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.6813, allocations: 0 / 0.9576 GB, free: 6.164 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.0003485/0.6816, allocations: 349.8 kB / 0.958 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6817, allocations: 10.22 kB / 0.958 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.6817, allocations: 10.12 kB / 0.958 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.6818, allocations: 170.8 kB / 0.9582 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6818, allocations: 1.5 kB / 0.9582 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.6818, allocations: 1.656 kB / 0.9582 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.682, allocations: 51.56 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.682, allocations: 0 / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.682, allocations: 1.25 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.682, allocations: 4 kB / 0.9582 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.6821, allocations: 23.45 kB / 0.9582 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.6824, allocations: 258.9 kB / 0.9585 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.6825, allocations: 33.88 kB / 0.9585 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.6825, allocations: 17.05 kB / 0.9585 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.6832, allocations: 0.4959 MB / 0.959 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.6833, allocations: 30.56 kB / 0.959 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6833, allocations: 3.938 kB / 0.9591 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002496/0.6835, allocations: 70.39 kB / 0.9591 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.6836, allocations: 55.41 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.6836, allocations: 107.7 kB / 0.9593 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.6837, allocations: 25.7 kB / 0.9593 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.6837, allocations: 85.36 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.6837, allocations: 4.875 kB / 0.9594 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.6838, allocations: 14.97 kB / 0.9594 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.6838, allocations: 320 kB / 0.9597 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.6839, allocations: 15.78 kB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.6839, allocations: 12.05 kB / 0.9597 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.111e-05/0.684, allocations: 36.56 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.684, allocations: 0 / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.6841, allocations: 62.41 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6841, allocations: 4.656 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.6842, allocations: 1.188 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.6842, allocations: 0 / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.6842, allocations: 5.812 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6843, allocations: 3.984 kB / 0.9598 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.6843, allocations: 10.28 kB / 0.9599 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.6843, allocations: 1.438 kB / 0.9599 GB, free: 3.852 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 5.075e-05/0.6844, allocations: 115.8 kB / 0.96 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.6844, allocations: 1.562 kB / 0.96 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.6846, allocations: 65.8 kB / 0.96 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6846, allocations: 3.984 kB / 0.96 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.6846, allocations: 5.312 kB / 0.96 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6846, allocations: 0 / 0.96 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.6847, allocations: 163.8 kB / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6847, allocations: 0 / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.6848, allocations: 5.031 kB / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6848, allocations: 1.688 kB / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6848, allocations: 0 / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6848, allocations: 0 / 0.9602 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6848, allocations: 5.359 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6849, allocations: 164.4 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.685, allocations: 79.08 kB / 0.9604 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.685, allocations: 7.938 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.685, allocations: 7.891 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.6851, allocations: 0 / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.6851, allocations: 2.094 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.6851, allocations: 92.86 kB / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6851, allocations: 0 / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002337/0.6854, allocations: 12.91 kB / 0.9606 GB, free: 3.113 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.0001566/0.6855, allocations: 118.2 kB / 0.9607 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.6857, allocations: 29.89 kB / 0.9607 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6857, allocations: 5.531 kB / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.6857, allocations: 9.094 kB / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.6859, allocations: 11.12 kB / 0.9607 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.6862, allocations: 159.1 kB / 0.9609 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.6863, allocations: 0.6832 MB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.6864, allocations: 12.72 kB / 0.9616 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6864, allocations: 0 / 0.9616 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.002356/0.6887, allocations: 0.7925 MB / 0.9623 GB, free: 1.723 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