Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007314/0.007314, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 189.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003923/1.034, allocations: 2.478 MB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003064/1.038, allocations: 1.572 MB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/1.038, allocations: 15.88 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007507/1.039, allocations: 318.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000638/1.039, allocations: 338.6 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/1.04, allocations: 449.9 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007762/1.041, allocations: 0.709 MB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/1.041, allocations: 81.72 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/1.042, allocations: 314.7 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/1.042, allocations: 326.6 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/1.042, allocations: 28 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/1.042, allocations: 87.95 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/1.043, allocations: 191.3 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/1.043, allocations: 270.1 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007814/1.044, allocations: 0.7511 MB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.044, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.734e-06/1.044, allocations: 3.938 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.044, allocations: 8 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001559/1.045, allocations: 1.018 MB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.045, allocations: 12.86 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/1.045, allocations: 80.42 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/1.046, allocations: 0.6374 MB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.046, allocations: 12.38 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/1.047, allocations: 15.94 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/1.047, allocations: 193.8 kB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/1.047, allocations: 0 / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/1.047, allocations: 8 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.047, allocations: 0 / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/1.047, allocations: 107.8 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/1.049, allocations: 1.048 MB / 1.177 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/1.049, allocations: 281 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/1.049, allocations: 108.2 kB / 1.178 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/1.049, allocations: 8 kB / 1.178 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/1.05, allocations: 224.1 kB / 1.178 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 4.308e-06/1.05, allocations: 0 / 1.178 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.001044/1.051, allocations: 426 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.051, allocations: 170.1 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.052, allocations: 1.028 MB / 1.18 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.052, allocations: 41.64 kB / 1.18 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/1.053, allocations: 300.8 kB / 1.18 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/1.053, allocations: 71.52 kB / 1.18 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.053, allocations: 142.2 kB / 1.18 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.053, allocations: 334 kB / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/1.053, allocations: 209.2 kB / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/1.054, allocations: 307 kB / 1.181 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/1.055, allocations: 407.2 kB / 1.181 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.055, allocations: 4 kB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001115/1.056, allocations: 0.683 MB / 1.182 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.056, allocations: 4 kB / 1.182 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.056, allocations: 4 kB / 1.182 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.056, allocations: 4 kB / 1.182 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/1.056, allocations: 115.8 kB / 1.182 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.056, allocations: 7.938 kB / 1.182 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/1.056, allocations: 47.77 kB / 1.182 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/1.057, allocations: 23.98 kB / 1.182 GB, free: 3.484 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003334/1.057, allocations: 276.5 kB / 1.182 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/1.057, allocations: 79.47 kB / 1.182 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/1.057, allocations: 65.89 kB / 1.183 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.057, allocations: 4 kB / 1.183 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.057, allocations: 7.938 kB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.057, allocations: 3.984 kB / 1.183 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/1.058, allocations: 465.2 kB / 1.183 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.058, allocations: 0 / 1.183 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/1.058, allocations: 19.94 kB / 1.183 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.058, allocations: 7.984 kB / 1.183 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/1.058, allocations: 16.12 kB / 1.183 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.058, allocations: 0 / 1.183 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.058, allocations: 7.938 kB / 1.183 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/1.058, allocations: 395.8 kB / 1.183 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.059, allocations: 164.6 kB / 1.184 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/1.059, allocations: 8 kB / 1.184 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/1.059, allocations: 27.89 kB / 1.184 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/1.059, allocations: 27.91 kB / 1.184 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.059, allocations: 12 kB / 1.184 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007027/1.06, allocations: 0.6005 MB / 1.184 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 4 kB / 1.184 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004333/1.06, allocations: 115.9 kB / 1.184 GB, free: 1.105 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001232/1.061, allocations: 487.6 kB / 1.185 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008086/1.062, allocations: 396.7 kB / 1.185 GB, free: 412 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.062, allocations: 0 / 1.185 GB, free: 412 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/1.062, allocations: 112.2 kB / 1.185 GB, free: 300 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/1.063, allocations: 221.2 kB / 1.186 GB, free: 96 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.065, allocations: 1.099 MB / 1.187 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/1.066, allocations: 0.9246 MB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003034/1.066, allocations: 120.9 kB / 1.188 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/1.066, allocations: 59.36 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/1.066, allocations: 4 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of Templates: time 0.01584/1.082, allocations: 7.813 MB / 1.195 GB, free: 6.082 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches