Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 106.5 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.979, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002828/0.9819, allocations: 1.684 MB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.9827, allocations: 440.6 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.9827, allocations: 0.8438 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.9828, allocations: 10.33 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.9829, allocations: 12.34 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.9831, allocations: 31.28 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.9832, allocations: 84.75 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.9833, allocations: 34.41 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.9834, allocations: 30.31 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.9835, allocations: 42.12 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.9836, allocations: 7.438 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.9836, allocations: 7.156 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.9836, allocations: 13.27 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.9837, allocations: 43.14 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.9838, allocations: 88.78 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9838, allocations: 0.7188 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9838, allocations: 0 / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.9838, allocations: 0.875 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005013/0.9844, allocations: 392.8 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.9844, allocations: 9.469 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.9845, allocations: 9.547 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.9846, allocations: 179.8 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.9846, allocations: 2.406 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.9846, allocations: 8.016 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.9848, allocations: 93.86 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9849, allocations: 0 / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.9849, allocations: 8.922 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9849, allocations: 1.531 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.9851, allocations: 47.53 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.9855, allocations: 330.2 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.9857, allocations: 51.72 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.9858, allocations: 25.92 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.9858, allocations: 8.719 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.9858, allocations: 33.08 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9858, allocations: 0 / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003542/0.9862, allocations: 100.8 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.9862, allocations: 78.83 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.9863, allocations: 129.4 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.9863, allocations: 30.7 kB / 1.266 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.9864, allocations: 102.7 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.9864, allocations: 15.28 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.9865, allocations: 19.92 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.9865, allocations: 323.1 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.9866, allocations: 29.14 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.9867, allocations: 49.69 kB / 1.267 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.9869, allocations: 43.2 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9869, allocations: 0.9062 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/0.9871, allocations: 88.77 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9871, allocations: 5.219 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9871, allocations: 0.7969 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9871, allocations: 0.75 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.9873, allocations: 14.02 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.9873, allocations: 4.781 kB / 1.267 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.9874, allocations: 10.16 kB / 1.267 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.9874, allocations: 6.203 kB / 1.267 GB, free: 4.363 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.585e-05/0.9874, allocations: 115.3 kB / 1.267 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.9875, allocations: 7.453 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.9875, allocations: 11.81 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.9875, allocations: 0 / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9875, allocations: 5.625 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9875, allocations: 0 / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.9877, allocations: 195.2 kB / 1.267 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9877, allocations: 0.7969 kB / 1.267 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.9878, allocations: 9.906 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9878, allocations: 0 / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.9878, allocations: 2.234 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9878, allocations: 1 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9878, allocations: 5 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.9881, allocations: 186.1 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.9881, allocations: 83.92 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.9881, allocations: 1.094 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.9882, allocations: 14.62 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.9883, allocations: 8.562 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.9883, allocations: 1.578 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.9884, allocations: 107.7 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9884, allocations: 4 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002311/0.9886, allocations: 10.78 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000112/0.9888, allocations: 102.5 kB / 1.268 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.989, allocations: 52.66 kB / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.989, allocations: 3.938 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.9891, allocations: 32.91 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.9894, allocations: 15.64 kB / 1.268 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.9899, allocations: 198.3 kB / 1.268 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.99, allocations: 0.6903 MB / 1.269 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.99, allocations: 16.2 kB / 1.269 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.99, allocations: 0 / 1.269 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of Templates: time 0.003012/0.9931, allocations: 1.005 MB / 1.27 GB, free: 2.574 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.11695644306019]