Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001734/0.001734, allocations: 113.6 kB / 16.42 MB, free: 6.445 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.001996/0.001996, allocations: 183.9 kB / 17.34 MB, free: 5.715 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.437/1.437, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 67.89 kB / 1.055 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9928/0.9944, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004947/0.9994, allocations: 2.479 MB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003371/1.003, allocations: 1.571 MB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/1.003, allocations: 15.88 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008214/1.004, allocations: 326.8 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009526/1.005, allocations: 326.7 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/1.006, allocations: 449.4 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001172/1.008, allocations: 0.7129 MB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/1.008, allocations: 77.73 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/1.009, allocations: 346.7 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/1.009, allocations: 322.7 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/1.009, allocations: 35.94 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/1.01, allocations: 95.95 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/1.01, allocations: 187.3 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/1.01, allocations: 270.1 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008927/1.011, allocations: 0.7373 MB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.011, allocations: 0 / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.294e-06/1.011, allocations: 0 / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.011, allocations: 0 / 1.216 GB, free: 5.656 MB / 0.9356 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.00164/1.013, allocations: 1.003 MB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/1.013, allocations: 8.031 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/1.013, allocations: 76 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/1.014, allocations: 0.625 MB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.014, allocations: 12.38 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/1.014, allocations: 15.94 kB / 1.218 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/1.015, allocations: 198.7 kB / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.015, allocations: 4 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/1.015, allocations: 3.984 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.015, allocations: 4 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/1.015, allocations: 103.9 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/1.016, allocations: 1.048 MB / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/1.017, allocations: 284.9 kB / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/1.017, allocations: 100.2 kB / 1.22 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/1.017, allocations: 11.94 kB / 1.22 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/1.018, allocations: 234.7 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/1.018, allocations: 4 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001005/1.019, allocations: 425.2 kB / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/1.019, allocations: 158.2 kB / 1.22 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.02, allocations: 1.036 MB / 1.221 GB, free: 20 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/1.02, allocations: 33.7 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/1.02, allocations: 292.8 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/1.02, allocations: 83.08 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/1.02, allocations: 142.1 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.021, allocations: 326 kB / 1.222 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/1.021, allocations: 213.2 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/1.021, allocations: 315 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/1.022, allocations: 407.4 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.022, allocations: 0 / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001304/1.023, allocations: 0.6649 MB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/1.023, allocations: 4.156 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.024, allocations: 8 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.922e-05/1.024, allocations: 4 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/1.024, allocations: 115.8 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.405e-05/1.024, allocations: 11.94 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/1.024, allocations: 39.67 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.025, allocations: 27.98 kB / 1.224 GB, free: 13.29 MB / 0.9512 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.0005111/1.025, allocations: 277.6 kB / 1.224 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.025, allocations: 75.56 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/1.025, allocations: 73.89 kB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.025, allocations: 3.984 kB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.025, allocations: 0 / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/1.026, allocations: 156.2 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.026, allocations: 16 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.026, allocations: 15.97 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.026, allocations: 19.98 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001011/1.027, allocations: 0.6814 MB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000988/1.028, allocations: 0.7996 MB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002349/1.028, allocations: 104.2 kB / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008091/1.029, allocations: 0.6044 MB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/1.029, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002783/1.032, allocations: 0.8788 MB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002312/1.034, allocations: 1.614 MB / 1.229 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of Templates: time 0.01684/1.051, allocations: 7.995 MB / 1.237 GB, free: 184 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches