Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007096/0.007096, allocations: 97.42 kB / 15.73 MB, free: 5.602 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.001445/0.001445, allocations: 193 kB / 16.68 MB, free: 5.523 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.574/2.574, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.004239/1.089, allocations: 2.473 MB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002945/1.092, allocations: 1.583 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/1.092, allocations: 7.938 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007273/1.093, allocations: 318.9 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000598/1.094, allocations: 346.6 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/1.095, allocations: 438.6 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008332/1.095, allocations: 0.7128 MB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/1.096, allocations: 85.72 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/1.096, allocations: 350.6 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/1.097, allocations: 318.7 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/1.097, allocations: 32 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/1.097, allocations: 87.95 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/1.097, allocations: 191.3 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/1.098, allocations: 270.1 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008774/1.098, allocations: 0.7511 MB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.098, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.826e-06/1.098, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.098, allocations: 0 / 1.174 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.001702/1.1, allocations: 1.03 MB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.1, allocations: 8.922 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/1.1, allocations: 80.41 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/1.101, allocations: 0.6335 MB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.101, allocations: 16.36 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/1.101, allocations: 15.94 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/1.102, allocations: 204.6 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.102, allocations: 0 / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/1.102, allocations: 4 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.102, allocations: 4 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/1.102, allocations: 95.88 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/1.103, allocations: 1.048 MB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/1.104, allocations: 285 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/1.104, allocations: 100.2 kB / 1.178 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/1.104, allocations: 11.97 kB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/1.105, allocations: 223.4 kB / 1.178 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/1.105, allocations: 4 kB / 1.178 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.0009921/1.106, allocations: 429.8 kB / 1.178 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.106, allocations: 170.1 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.107, allocations: 1.028 MB / 1.18 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/1.107, allocations: 37.7 kB / 1.18 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/1.107, allocations: 292.8 kB / 1.18 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/1.107, allocations: 75.52 kB / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/1.108, allocations: 150.1 kB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.108, allocations: 330 kB / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/1.108, allocations: 209.2 kB / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/1.109, allocations: 307 kB / 1.181 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/1.109, allocations: 409.8 kB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.109, allocations: 0 / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00116/1.11, allocations: 0.6742 MB / 1.182 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.11, allocations: 8 kB / 1.182 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.111, allocations: 160 / 1.182 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/1.111, allocations: 15.98 kB / 1.182 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/1.111, allocations: 111.8 kB / 1.182 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.111, allocations: 7.938 kB / 1.182 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/1.111, allocations: 47.75 kB / 1.182 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/1.111, allocations: 24 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.0003546/1.112, allocations: 269.6 kB / 1.182 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.112, allocations: 79.48 kB / 1.183 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/1.112, allocations: 73.88 kB / 1.183 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.112, allocations: 4 kB / 1.183 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.112, allocations: 4.25 kB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.112, allocations: 4 kB / 1.183 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/1.112, allocations: 461.2 kB / 1.183 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.113, allocations: 11.98 kB / 1.183 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/1.113, allocations: 19.94 kB / 1.183 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.113, allocations: 0 / 1.183 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/1.113, allocations: 15.98 kB / 1.183 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.113, allocations: 3.984 kB / 1.183 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.113, allocations: 7.938 kB / 1.183 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/1.113, allocations: 398.2 kB / 1.183 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/1.113, allocations: 168.5 kB / 1.184 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/1.114, allocations: 12 kB / 1.184 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/1.114, allocations: 19.97 kB / 1.184 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.114, allocations: 23.92 kB / 1.184 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/1.114, allocations: 11.98 kB / 1.184 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000724/1.115, allocations: 0.6044 MB / 1.184 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 1.184 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004335/1.115, 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.001236/1.116, allocations: 490.4 kB / 1.185 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007984/1.117, allocations: 403.6 kB / 1.185 GB, free: 404 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.117, allocations: 0 / 1.185 GB, free: 404 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/1.117, allocations: 111.9 kB / 1.185 GB, free: 292 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/1.118, allocations: 214.7 kB / 1.186 GB, free: 92 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.12, allocations: 1.106 MB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/1.12, allocations: 0.9284 MB / 1.188 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002587/1.121, allocations: 113.5 kB / 1.188 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/1.121, allocations: 59.41 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of SimCode: time 4.01e-07/1.121, allocations: 0 / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of Templates: time 0.0148/1.136, allocations: 7.828 MB / 1.195 GB, free: 6.062 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches