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.001557/0.001557, allocations: 102.2 kB / 16.4 MB, free: 6.461 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.001608/0.001608, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 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.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 67.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.005146/1.051, allocations: 2.475 MB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003343/1.055, allocations: 1.579 MB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/1.055, allocations: 11.88 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008613/1.056, allocations: 322.8 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009806/1.057, allocations: 342.6 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/1.058, allocations: 438.4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001008/1.059, allocations: 0.7129 MB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/1.06, allocations: 85.72 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/1.06, allocations: 342.6 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/1.06, allocations: 322.7 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/1.061, allocations: 28 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/1.061, allocations: 87.95 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/1.061, allocations: 191.3 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/1.061, allocations: 270.2 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007691/1.062, allocations: 0.7489 MB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.062, allocations: 0 / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.794e-06/1.062, allocations: 4 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.062, allocations: 0 / 1.175 GB, free: 11.89 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.001607/1.064, allocations: 0.9989 MB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.064, allocations: 16.92 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/1.064, allocations: 72 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/1.065, allocations: 0.6288 MB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.065, allocations: 8.375 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/1.065, allocations: 15.94 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/1.065, allocations: 204.6 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.065, allocations: 0 / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/1.065, allocations: 8 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.065, allocations: 0 / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/1.066, allocations: 99.88 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/1.067, allocations: 1.052 MB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/1.068, allocations: 280.9 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/1.068, allocations: 108.2 kB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/1.068, allocations: 4 kB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/1.068, allocations: 227.3 kB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/1.068, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.0009533/1.069, allocations: 417.7 kB / 1.179 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.069, allocations: 178.1 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/1.071, allocations: 1.028 MB / 1.18 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/1.071, allocations: 37.7 kB / 1.18 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/1.071, allocations: 288.8 kB / 1.181 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/1.071, allocations: 87.02 kB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/1.071, allocations: 134.1 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.071, allocations: 334 kB / 1.181 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/1.072, allocations: 213.2 kB / 1.181 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/1.072, allocations: 303 kB / 1.182 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/1.073, allocations: 417.9 kB / 1.182 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.073, allocations: 8 kB / 1.182 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001178/1.074, allocations: 0.6642 MB / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.074, allocations: 4 kB / 1.183 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.074, allocations: 4 kB / 1.183 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.074, allocations: 4 kB / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/1.075, allocations: 115.8 kB / 1.183 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/1.075, allocations: 8.094 kB / 1.183 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/1.075, allocations: 47.73 kB / 1.183 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/1.075, allocations: 27.98 kB / 1.183 GB, free: 3.531 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.0003486/1.076, allocations: 269.6 kB / 1.183 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.076, allocations: 75.05 kB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/1.076, allocations: 69.89 kB / 1.183 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/1.076, allocations: 4 kB / 1.183 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.076, allocations: 7.938 kB / 1.183 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.076, allocations: 3.984 kB / 1.183 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/1.076, allocations: 465.2 kB / 1.184 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.076, allocations: 0 / 1.184 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/1.077, allocations: 19.94 kB / 1.184 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.077, allocations: 4 kB / 1.184 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/1.077, allocations: 12.05 kB / 1.184 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.077, allocations: 8 kB / 1.184 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.077, allocations: 3.938 kB / 1.184 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/1.077, allocations: 401.8 kB / 1.184 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/1.078, allocations: 156.1 kB / 1.184 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/1.078, allocations: 8 kB / 1.184 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.078, allocations: 23.97 kB / 1.184 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/1.078, allocations: 27.91 kB / 1.184 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/1.078, allocations: 12 kB / 1.184 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007713/1.079, allocations: 0.6083 MB / 1.185 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.817e-06/1.079, allocations: 0 / 1.185 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004549/1.079, allocations: 119.9 kB / 1.185 GB, free: 1.16 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.001237/1.08, allocations: 490.1 kB / 1.186 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007873/1.081, allocations: 399.6 kB / 1.186 GB, free: 468 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.081, allocations: 320 / 1.186 GB, free: 468 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/1.081, allocations: 108.3 kB / 1.186 GB, free: 360 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/1.082, allocations: 215.9 kB / 1.186 GB, free: 160 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/1.084, allocations: 1.144 MB / 1.187 GB, free: 14.97 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/1.085, allocations: 0.9246 MB / 1.188 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.085, allocations: 59.36 kB / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/1.085, allocations: 0 / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of Templates: time 0.01543/1.1, allocations: 8.874 MB / 1.197 GB, free: 5.113 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