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.001284/0.001284, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.00134/0.001341, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.469/1.469, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.645/2.645, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.83 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.112, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00447/1.117, allocations: 2.478 MB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003027/1.12, allocations: 1.579 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/1.12, allocations: 11.94 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006717/1.121, allocations: 314.9 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006493/1.122, allocations: 354.6 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/1.123, allocations: 439.3 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008509/1.124, allocations: 0.709 MB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/1.124, allocations: 85.72 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/1.124, allocations: 350.6 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/1.125, allocations: 318.7 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/1.125, allocations: 32 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/1.125, allocations: 79.97 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/1.125, allocations: 187.3 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/1.125, allocations: 278.2 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000857/1.126, allocations: 0.7511 MB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.126, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.753e-06/1.126, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.126, allocations: 0 / 1.175 GB, free: 11.91 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.001636/1.128, allocations: 1.026 MB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.128, allocations: 12.62 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/1.128, allocations: 84.41 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/1.129, allocations: 0.6335 MB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/1.129, allocations: 12.36 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/1.129, allocations: 15.94 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/1.13, allocations: 201.8 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.13, allocations: 0 / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/1.13, allocations: 4 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/1.13, allocations: 4 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/1.13, allocations: 99.81 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/1.131, allocations: 1.056 MB / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/1.132, allocations: 277 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/1.132, allocations: 108.2 kB / 1.179 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/1.132, allocations: 4 kB / 1.179 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/1.133, allocations: 220.1 kB / 1.179 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/1.133, allocations: 0 / 1.179 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.001045/1.134, allocations: 432.9 kB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/1.134, allocations: 166.2 kB / 1.179 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/1.135, allocations: 1.036 MB / 1.18 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/1.135, allocations: 33.7 kB / 1.18 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/1.135, allocations: 296.8 kB / 1.181 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/1.136, allocations: 75.52 kB / 1.181 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.136, allocations: 146.1 kB / 1.181 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.136, allocations: 330 kB / 1.181 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/1.136, allocations: 217.2 kB / 1.181 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/1.137, allocations: 299 kB / 1.182 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/1.138, allocations: 409.8 kB / 1.182 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.138, allocations: 0 / 1.182 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001402/1.139, allocations: 0.6799 MB / 1.183 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.139, allocations: 4 kB / 1.183 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.139, allocations: 7.984 kB / 1.183 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.139, allocations: 4 kB / 1.183 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/1.14, allocations: 111.8 kB / 1.183 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/1.14, allocations: 11.92 kB / 1.183 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/1.14, allocations: 47.92 kB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/1.14, allocations: 24 kB / 1.183 GB, free: 3.496 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.0005277/1.141, allocations: 273.7 kB / 1.183 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.141, allocations: 79.48 kB / 1.183 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/1.141, allocations: 73.88 kB / 1.183 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/1.141, allocations: 4 kB / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.141, allocations: 0 / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/1.141, allocations: 168.5 kB / 1.183 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/1.142, allocations: 11.98 kB / 1.183 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/1.142, allocations: 19.98 kB / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/1.142, allocations: 27.91 kB / 1.184 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007958/1.143, allocations: 0.6697 MB / 1.184 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008472/1.143, allocations: 0.8039 MB / 1.185 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000244/1.144, allocations: 108.2 kB / 1.185 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008107/1.145, allocations: 0.6005 MB / 1.186 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of Backend: time 7.51e-07/1.145, allocations: 0 / 1.186 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002826/1.147, allocations: 0.874 MB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of SimCode: time 0.002325/1.15, allocations: 1.64 MB / 1.188 GB, free: 14.25 MB / 0.92 GB Notification: Performance of Templates: time 0.01486/1.165, allocations: 8.008 MB / 1.196 GB, free: 6.316 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/jenkins1/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