Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001789/0.001789, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002138/0.002138, allocations: 189.1 kB / 22.22 MB, free: 5.105 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.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 1.11 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7761, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002438/0.7785, allocations: 0.9252 MB / 1.275 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7798, allocations: 0.8911 MB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.7798, allocations: 4 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.7799, allocations: 7.875 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.78, allocations: 19.8 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.7802, allocations: 51.88 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.7803, allocations: 123.7 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.7805, allocations: 41.69 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.7806, allocations: 51.78 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.7807, allocations: 59.7 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.7807, allocations: 12 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.7808, allocations: 12 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.7808, allocations: 31.91 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.7809, allocations: 63.66 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.7811, allocations: 153.7 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7811, allocations: 3.938 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7811, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7811, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 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.0006829/0.7818, allocations: 361.7 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.7818, allocations: 8.031 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.7819, allocations: 20.84 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.7822, allocations: 157.7 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.7822, allocations: 8.359 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.7822, allocations: 16.12 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.7825, allocations: 104 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7825, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7826, allocations: 4 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7826, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.7828, allocations: 75.95 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.7835, allocations: 371.7 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.7838, allocations: 78.61 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.7839, allocations: 40.83 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.7839, allocations: 4 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.7839, allocations: 34.5 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.7839, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004153/0.7843, allocations: 125.7 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.7844, allocations: 55.41 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.7846, allocations: 152.4 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.7846, allocations: 33.7 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.7847, allocations: 112.2 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.7847, allocations: 23.83 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.7848, allocations: 29.72 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.785, allocations: 322.8 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.7851, allocations: 35.92 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.7852, allocations: 54.55 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.7854, allocations: 56.95 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7854, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002604/0.7856, allocations: 117.5 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7857, allocations: 14.16 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7857, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.7857, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.7858, allocations: 19.92 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7858, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-05/0.7859, allocations: 7.938 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.7859, allocations: 11.98 kB / 1.279 GB, free: 15.18 MB / 0.9825 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 0.0001053/0.786, allocations: 116 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.786, allocations: 19.84 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.7861, allocations: 16.72 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7861, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7861, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7861, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.7863, allocations: 180.7 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7863, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.7864, allocations: 15.98 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7864, allocations: 7.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.7864, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7864, allocations: 4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.7864, allocations: 3.984 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.7867, allocations: 191.4 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.7868, allocations: 15.84 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.7868, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.7869, allocations: 11.98 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.787, allocations: 15.97 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.787, allocations: 7.984 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.52e-05/0.7871, allocations: 123.2 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7871, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002333/0.7873, allocations: 15.94 kB / 1.28 GB, free: 14.37 MB / 0.9825 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 0.0001453/0.7874, allocations: 105.8 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.7877, allocations: 83.92 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7877, allocations: 3.938 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.7878, allocations: 28.38 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.7881, allocations: 8 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.7887, allocations: 232 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.789, allocations: 0.7041 MB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.7891, allocations: 8.656 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.7891, allocations: 11.44 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7891, allocations: 4 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.004332/0.7935, allocations: 1.183 MB / 1.282 GB, free: 11.95 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.37145486380905]