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.001829/0.001829, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.002047/0.002047, 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.56/1.56, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.636/2.636, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.005032/1.125, allocations: 2.479 MB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003978/1.129, allocations: 1.579 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/1.129, allocations: 7.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008705/1.13, allocations: 326.8 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/1.131, allocations: 338.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/1.133, allocations: 443.4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001415/1.134, allocations: 0.709 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/1.135, allocations: 85.72 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/1.135, allocations: 342.6 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/1.136, allocations: 322.7 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/1.136, allocations: 28 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/1.137, allocations: 87.91 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/1.137, allocations: 191.3 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/1.137, allocations: 270.2 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/1.138, allocations: 0.7511 MB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.138, allocations: 0 / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/1.138, allocations: 4 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.682e-05/1.138, 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.00229/1.141, allocations: 1.026 MB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.141, allocations: 12.91 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/1.141, allocations: 80.42 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.142, allocations: 0.6373 MB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/1.142, allocations: 12.38 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/1.142, allocations: 19.88 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/1.143, allocations: 201.8 kB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.143, allocations: 0 / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/1.143, allocations: 8 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.143, allocations: 4 kB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/1.143, allocations: 99.88 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/1.145, allocations: 1.052 MB / 1.178 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/1.146, allocations: 277 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/1.146, allocations: 104.2 kB / 1.179 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/1.146, allocations: 8 kB / 1.179 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/1.146, allocations: 228.1 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.805e-06/1.146, allocations: 0 / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.001165/1.148, allocations: 422 kB / 1.179 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/1.148, allocations: 166.2 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.149, allocations: 1.032 MB / 1.18 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/1.149, allocations: 37.7 kB / 1.18 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/1.15, allocations: 296.8 kB / 1.181 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.15, allocations: 75.52 kB / 1.181 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.15, allocations: 138.2 kB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.15, allocations: 334 kB / 1.181 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/1.151, allocations: 209.2 kB / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/1.151, allocations: 307 kB / 1.182 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/1.152, allocations: 409.9 kB / 1.182 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.152, allocations: 0 / 1.182 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001415/1.153, allocations: 0.6767 MB / 1.183 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/1.154, allocations: 10.34 kB / 1.183 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.154, allocations: 0 / 1.183 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/1.154, allocations: 8 kB / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.154, allocations: 111.8 kB / 1.183 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.131e-05/1.154, allocations: 11.92 kB / 1.183 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/1.155, allocations: 51.98 kB / 1.183 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/1.155, allocations: 27.98 kB / 1.183 GB, free: 3.477 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.0004416/1.155, allocations: 272.5 kB / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.155, allocations: 83.47 kB / 1.183 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/1.155, allocations: 69.89 kB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.156, allocations: 4 kB / 1.183 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.156, allocations: 3.938 kB / 1.183 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/1.156, allocations: 164.5 kB / 1.183 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/1.156, allocations: 12 kB / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/1.156, allocations: 19.98 kB / 1.184 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/1.156, allocations: 19.97 kB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009073/1.157, allocations: 0.6738 MB / 1.184 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009432/1.158, allocations: 0.8195 MB / 1.185 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002614/1.158, allocations: 99.94 kB / 1.185 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009486/1.159, allocations: 0.6044 MB / 1.186 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of Backend: time 6.71e-07/1.159, allocations: 0 / 1.186 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.162, allocations: 0.8717 MB / 1.187 GB, free: 15.9 MB / 0.92 GB Notification: Performance of SimCode: time 0.002734/1.165, allocations: 1.632 MB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of Templates: time 0.0175/1.182, allocations: 8.012 MB / 1.196 GB, free: 6.293 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/jenkins1/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