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.001831/0.001831, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001949/0.001949, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.982/2.982, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.954e-06/1.954e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.337e-05, allocations: 6.078 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.003233/0.003266, allocations: 0.9028 MB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.005166, allocations: 0.9343 MB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.005241, allocations: 0 / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.005291, allocations: 13.39 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.005429, allocations: 15.81 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.005703, allocations: 47.94 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.005936, allocations: 125 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.006115, allocations: 41.64 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.006413, allocations: 87.73 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.006539, allocations: 41.62 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.006586, allocations: 16 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.325e-05/0.006649, allocations: 12 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.0067, allocations: 27.92 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.006777, allocations: 41 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.007121, allocations: 163.5 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.007125, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007126, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.007131, allocations: 5.094 kB / 0.8132 GB, free: 15.66 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.0009249/0.008056, allocations: 460.5 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.008102, allocations: 12.03 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.008441, allocations: 42.95 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.008802, allocations: 154.9 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.008824, allocations: 4.375 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.008861, allocations: 16.36 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.009194, allocations: 98.67 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.009209, allocations: 3.938 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.009229, allocations: 4.719 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.009234, allocations: 4 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.00951, allocations: 62.06 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.01039, allocations: 395.4 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.01077, allocations: 87.72 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.01092, allocations: 40.55 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.01095, allocations: 4 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.01099, allocations: 37.89 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.01099, allocations: 0.6562 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004979/0.01149, allocations: 110.6 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.01155, allocations: 59.5 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.01184, allocations: 213.3 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.01188, allocations: 29.7 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.01205, allocations: 171.6 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.01208, allocations: 19.84 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01218, allocations: 40.58 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003567/0.01254, allocations: 0.4962 MB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01267, allocations: 24 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.01301, allocations: 123.3 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.01323, allocations: 51.67 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01324, allocations: 2.312 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003522/0.01359, allocations: 109.5 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01361, allocations: 4 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01361, allocations: 80 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01363, allocations: 3.938 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01375, allocations: 19.27 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.01376, allocations: 3.984 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01387, allocations: 15.88 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01388, allocations: 4 kB / 0.816 GB, free: 12.58 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.0001814/0.01406, allocations: 164.6 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.01412, allocations: 11.95 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.01418, allocations: 16.77 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.01419, allocations: 3.938 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01419, allocations: 1 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.0142, allocations: 0 / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.01456, allocations: 173 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.01457, allocations: 4 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.01467, allocations: 4.562 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01467, allocations: 4.562 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.01469, allocations: 5.609 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01469, allocations: 0 / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.0147, allocations: 3.938 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.01514, allocations: 243.8 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.01517, allocations: 9.016 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.0152, allocations: 4 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.01536, allocations: 7.984 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.01546, allocations: 21 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.01548, allocations: 4 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001722/0.01565, allocations: 159.8 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01565, allocations: 0 / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004344/0.01608, allocations: 20.45 kB / 0.8168 GB, free: 11.67 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.0001732/0.01626, allocations: 104.3 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.01662, allocations: 76.56 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01662, allocations: 0 / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01677, allocations: 40.7 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.01719, allocations: 11.98 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.01786, allocations: 235.2 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.018, allocations: 86.41 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.579e-05/0.01808, allocations: 12.98 kB / 0.8174 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.01817, allocations: 20.48 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.01817, allocations: 0 / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.006165/0.02433, allocations: 1.115 MB / 0.8185 GB, free: 9.953 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] 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.8202731179771945]