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.008926/0.008926, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001587/0.001587, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 75.88 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004256/1.158, allocations: 2.48 MB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003001/1.161, allocations: 1.571 MB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/1.162, allocations: 11.88 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007379/1.162, allocations: 330.8 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007016/1.163, allocations: 338.6 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/1.164, allocations: 444.2 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009676/1.165, allocations: 0.709 MB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/1.166, allocations: 81.72 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/1.166, allocations: 338.7 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/1.167, allocations: 326.6 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/1.167, allocations: 32 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/1.167, allocations: 87.97 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/1.167, allocations: 191.3 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/1.167, allocations: 274.1 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008499/1.168, allocations: 0.7373 MB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.168, allocations: 4 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.128e-06/1.168, allocations: 0 / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.168, allocations: 3.938 kB / 1.215 GB, free: 5.691 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.001681/1.17, allocations: 0.9989 MB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/1.17, allocations: 16.02 kB / 1.216 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/1.17, allocations: 72 kB / 1.217 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009662/1.171, allocations: 0.625 MB / 1.217 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.171, allocations: 4.375 kB / 1.217 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/1.171, allocations: 15.94 kB / 1.217 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/1.172, allocations: 201.8 kB / 1.217 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.172, allocations: 3.984 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/1.172, allocations: 8 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.172, allocations: 4 kB / 1.217 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/1.172, allocations: 95.88 kB / 1.217 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/1.173, allocations: 1.052 MB / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/1.174, allocations: 281 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.174, allocations: 104.2 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/1.174, allocations: 7.938 kB / 1.219 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/1.175, allocations: 240.1 kB / 1.219 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/1.175, allocations: 0 / 1.219 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.0009828/1.176, allocations: 425.6 kB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.176, allocations: 162.2 kB / 1.22 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/1.177, allocations: 1.04 MB / 1.221 GB, free: 52 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/1.177, allocations: 33.7 kB / 1.221 GB, free: 12 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/1.177, allocations: 284.9 kB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/1.178, allocations: 83.08 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.178, allocations: 146.1 kB / 1.221 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.178, allocations: 326 kB / 1.221 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/1.178, allocations: 209.2 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/1.179, allocations: 311 kB / 1.222 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/1.179, allocations: 417.4 kB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.179, allocations: 0 / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001136/1.181, allocations: 0.664 MB / 1.223 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.181, allocations: 4 kB / 1.223 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.181, allocations: 4 kB / 1.223 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/1.181, allocations: 4 kB / 1.223 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/1.181, allocations: 120 kB / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.181, allocations: 15.86 kB / 1.223 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/1.181, allocations: 39.73 kB / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/1.181, allocations: 27.98 kB / 1.223 GB, free: 13.32 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.0003767/1.182, allocations: 276.9 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.182, allocations: 75.05 kB / 1.224 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/1.182, allocations: 73.89 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.182, allocations: 4 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/1.182, allocations: 7.938 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.182, allocations: 0 / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/1.183, allocations: 465.2 kB / 1.224 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.183, allocations: 0 / 1.224 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/1.183, allocations: 20.12 kB / 1.224 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.183, allocations: 4 kB / 1.224 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/1.183, allocations: 11.98 kB / 1.224 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.183, allocations: 7.938 kB / 1.224 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.183, allocations: 3.938 kB / 1.224 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/1.183, allocations: 387.5 kB / 1.225 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.184, allocations: 160 kB / 1.225 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/1.184, allocations: 16 kB / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.184, allocations: 19.97 kB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/1.184, allocations: 23.86 kB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/1.184, allocations: 19.98 kB / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007202/1.185, allocations: 0.6005 MB / 1.225 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.225 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004386/1.185, allocations: 116 kB / 1.225 GB, free: 10.95 MB / 0.9512 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.001305/1.186, allocations: 492.2 kB / 1.226 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008246/1.187, allocations: 399.8 kB / 1.226 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.187, allocations: 0 / 1.226 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/1.188, allocations: 108.3 kB / 1.226 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/1.189, allocations: 225.2 kB / 1.227 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.19, allocations: 1.088 MB / 1.228 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/1.191, allocations: 0.9245 MB / 1.229 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003869/1.191, allocations: 120.8 kB / 1.229 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/1.192, allocations: 55.42 kB / 1.229 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/1.192, allocations: 0 / 1.229 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of Templates: time 0.0154/1.207, allocations: 7.813 MB / 1.236 GB, free: 15.96 MB / 0.9669 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/jenkins/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