Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 161.7 kB / 23.55 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.832/2.832, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.09e-05, allocations: 3.656 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.003304/0.003335, allocations: 0.8965 MB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.005395, allocations: 0.9263 MB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.005468, allocations: 4 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.002e-05/0.005528, allocations: 13.45 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.005661, allocations: 11.81 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.005953, allocations: 47.94 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.006221, allocations: 132.6 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.006399, allocations: 37.59 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.006712, allocations: 87.8 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.006839, allocations: 40.66 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.006883, allocations: 13.03 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.103e-05/0.006964, allocations: 16 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.007015, allocations: 27.91 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.007097, allocations: 45 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.007449, allocations: 163.5 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.007452, allocations: 0 / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.007453, allocations: 5.312 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.007458, allocations: 0 / 0.8132 GB, free: 15.64 MB / 0.7761 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.0009204/0.008379, allocations: 355.5 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.008419, allocations: 12.03 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.008802, allocations: 40.81 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.009231, allocations: 153.4 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.009255, allocations: 8.375 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.009291, allocations: 12.38 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.009658, allocations: 106.9 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.009676, allocations: 3.938 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.009701, allocations: 8 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.009706, allocations: 0 / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.01006, allocations: 74.52 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.01094, allocations: 320.1 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.01136, allocations: 78.59 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.01154, allocations: 41.56 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01156, allocations: 0.5312 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.0116, allocations: 34.56 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.0116, allocations: 1.656 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0006616/0.01226, allocations: 122.1 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.01233, allocations: 60 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.01255, allocations: 144.2 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.0126, allocations: 30.83 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.01273, allocations: 115.9 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.01277, allocations: 15.91 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.01287, allocations: 30.45 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002476/0.01311, allocations: 322.8 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.01328, allocations: 29.42 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.01353, allocations: 106 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.01382, allocations: 58.8 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01382, allocations: 0 / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004272/0.01425, allocations: 109.5 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.01428, allocations: 8.656 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01428, allocations: 2.516 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.01431, allocations: 7.875 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.01444, allocations: 15.92 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01445, allocations: 3.984 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.01461, allocations: 15.92 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.01464, allocations: 4 kB / 0.8155 GB, free: 13.07 MB / 0.7761 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.0001616/0.0148, allocations: 119.7 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.01486, allocations: 11.95 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.01492, allocations: 16.77 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.01493, allocations: 3.938 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01493, allocations: 0.5312 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01494, allocations: 4.812 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.01526, allocations: 145.2 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01527, allocations: 1.844 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.01539, allocations: 8 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.0154, allocations: 4 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.01542, allocations: 3.984 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01542, allocations: 0 / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.01542, allocations: 5.281 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.01589, allocations: 199.4 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.01592, allocations: 8.672 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.01596, allocations: 4 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.01616, allocations: 8.641 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.01625, allocations: 23.59 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01627, allocations: 4 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001446/0.01641, allocations: 107.2 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01641, allocations: 0 / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004589/0.01687, allocations: 27.89 kB / 0.8162 GB, free: 12.33 MB / 0.7761 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.00017/0.01704, allocations: 95.25 kB / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.01744, allocations: 72.17 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01744, allocations: 1.938 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.0176, allocations: 31.98 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.01809, allocations: 15.92 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.01879, allocations: 221.6 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.01894, allocations: 91.39 kB / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.979e-05/0.01903, allocations: 9.078 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.01911, allocations: 22.92 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01912, allocations: 3.938 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.006264/0.02538, allocations: 1.121 MB / 0.8179 GB, free: 10.64 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.668715732987039]