Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001609/0.001609, allocations: 111.1 kB / 17.07 MB, free: 6.082 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.001629/0.001629, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.895/2.895, allocations: 489.3 MB / 0.7687 GB, free: 3.789 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.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8792/0.8812, allocations: 163.8 MB / 1.263 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002196/0.8834, allocations: 0.9162 MB / 1.263 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.8845, allocations: 0.8886 MB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.8846, allocations: 1.688 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.8846, allocations: 13.05 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.8847, allocations: 24.27 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.8849, allocations: 37.98 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.8851, allocations: 132.6 kB / 1.265 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.8853, allocations: 47.86 kB / 1.265 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.8854, allocations: 48.36 kB / 1.265 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.8855, allocations: 61.62 kB / 1.265 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.8856, allocations: 12.94 kB / 1.265 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.8856, allocations: 12.53 kB / 1.265 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.8856, allocations: 32.52 kB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.8857, allocations: 56.17 kB / 1.265 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.8859, allocations: 160.4 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.886, allocations: 0 / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.886, allocations: 0 / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.886, allocations: 1 kB / 1.265 GB, free: 6.598 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005697/0.8865, allocations: 433.7 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.8866, allocations: 17.69 kB / 1.265 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.8866, allocations: 15.56 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.8869, allocations: 219.7 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.8869, allocations: 4.719 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.887, allocations: 14.81 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.8872, allocations: 105.2 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8872, allocations: 0.875 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8872, allocations: 0.8125 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8872, allocations: 2.578 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.8874, allocations: 72.77 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.888, allocations: 411.8 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.8882, allocations: 76.66 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.8883, allocations: 43.39 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.8883, allocations: 0.5625 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.8884, allocations: 40.22 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8884, allocations: 0.875 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003587/0.8887, allocations: 121.5 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.8888, allocations: 52.7 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.8889, allocations: 163.7 kB / 1.267 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.8889, allocations: 31.38 kB / 1.267 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.889, allocations: 111.3 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.889, allocations: 24.81 kB / 1.267 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.8891, allocations: 23.72 kB / 1.267 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.8891, allocations: 320.7 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.8892, allocations: 34.12 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.8893, allocations: 53.25 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.8895, allocations: 66.27 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8895, allocations: 0 / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002268/0.8897, allocations: 114 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8897, allocations: 9.156 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8898, allocations: 0.7812 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8898, allocations: 0 / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.8899, allocations: 12.31 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.8899, allocations: 1.703 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.89, allocations: 20.39 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.89, allocations: 2.734 kB / 1.267 GB, free: 4.516 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.583e-05/0.8901, allocations: 126.3 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.8901, allocations: 17.08 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.8902, allocations: 13.12 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8902, allocations: 0.8438 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8902, allocations: 1.609 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8902, allocations: 3.938 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.8904, allocations: 209.8 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8904, allocations: 4 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.8904, allocations: 11.66 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.8905, allocations: 5.281 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8905, allocations: 1.484 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.8905, allocations: 1.75 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8905, allocations: 0 / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.8907, allocations: 195.8 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.8908, allocations: 89.19 kB / 1.268 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.8908, allocations: 5.969 kB / 1.268 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8909, allocations: 6.922 kB / 1.268 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.891, allocations: 17.5 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.891, allocations: 6.875 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.8911, allocations: 117.1 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8911, allocations: 0.6562 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00023/0.8913, allocations: 18.34 kB / 1.268 GB, free: 3.785 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.899e-05/0.8914, allocations: 106.8 kB / 1.268 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.8917, allocations: 72.12 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8917, allocations: 1 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.8918, allocations: 39.5 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.8921, allocations: 11.09 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.8925, allocations: 254.9 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.8926, allocations: 0.6999 MB / 1.269 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.8927, allocations: 20.34 kB / 1.269 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.8927, allocations: 0 / 1.269 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of Templates: time 0.003408/0.8961, allocations: 1.393 MB / 1.271 GB, free: 2.598 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 10.915873911930248]