Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.002523/0.002523, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002726/0.002726, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.248/3.248, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.654e-05, allocations: 10.25 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.004279/0.004316, allocations: 1.499 MB / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.005624, allocations: 472.2 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.00567, allocations: 0.6562 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.005703, allocations: 3.938 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.005802, allocations: 0.8438 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.005988, allocations: 31.83 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.006111, allocations: 48.38 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.006225, allocations: 9.375 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.006332, allocations: 35.95 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.006414, allocations: 11.92 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.006439, allocations: 7.938 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.006456, allocations: 9.156 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.006482, allocations: 7.984 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.006541, allocations: 19.92 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.006708, allocations: 45.12 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006711, allocations: 0 / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006713, allocations: 0 / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.006717, allocations: 1.219 kB / 0.8129 GB, free: 15.97 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007765/0.007493, allocations: 380.2 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.00754, allocations: 15.97 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.007602, allocations: 9.656 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.007794, allocations: 120.5 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.007814, allocations: 5.719 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.007849, allocations: 12.31 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.008018, allocations: 58.17 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.008028, allocations: 0.7188 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.00804, allocations: 384 / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.008051, allocations: 9.875 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.008156, allocations: 19.98 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.008854, allocations: 291.7 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.009056, allocations: 64.86 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.009144, allocations: 31.7 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.00916, allocations: 0 / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.009391, allocations: 81.08 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.009392, allocations: 0.7812 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003881/0.00978, allocations: 101.6 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.009858, allocations: 59.94 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.01006, allocations: 173.9 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.0101, allocations: 30.42 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01023, allocations: 130.9 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.01029, allocations: 36.3 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.01038, allocations: 36.69 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003784/0.01076, allocations: 0.4884 MB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.01082, allocations: 16 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.01095, allocations: 62.67 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.01115, allocations: 75.64 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01115, allocations: 0.7812 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002952/0.01145, allocations: 113.4 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.01147, allocations: 9.281 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01148, allocations: 0 / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01149, allocations: 0 / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01162, allocations: 12.84 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.01163, allocations: 7.984 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.01172, allocations: 13.16 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01173, allocations: 4 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001818/0.01191, allocations: 160.6 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.01195, allocations: 13.2 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.01198, allocations: 8.125 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.012, allocations: 3.984 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.012, allocations: 5.719 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01201, allocations: 0 / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008785/0.01289, allocations: 353.3 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01289, allocations: 0 / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.01293, allocations: 6.625 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01293, allocations: 0 / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.01295, allocations: 11.94 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01295, allocations: 0 / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01295, allocations: 0 / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.01332, allocations: 239.8 kB / 0.816 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.01333, allocations: 4 kB / 0.816 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.01336, allocations: 4 kB / 0.816 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01348, allocations: 8.484 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.01354, allocations: 9.297 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01355, allocations: 0 / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001228/0.01367, allocations: 135.2 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01367, allocations: 1.062 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004465/0.01412, allocations: 15.95 kB / 0.8162 GB, free: 12.29 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001568/0.01428, allocations: 102 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.01452, allocations: 63.61 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01452, allocations: 0 / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.01463, allocations: 36.42 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.0151, allocations: 22.36 kB / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.01564, allocations: 155.6 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.01577, allocations: 80.03 kB / 0.8166 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.01581, allocations: 0 / 0.8166 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.01586, allocations: 17.16 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01586, allocations: 0 / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.005391/0.02125, allocations: 0.8336 MB / 0.8175 GB, free: 10.97 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.238994547049515]