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.001517/0.001518, allocations: 108.7 kB / 16.41 MB, free: 6.512 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.001568/0.001567, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.546/1.546, allocations: 222.9 MB / 241.1 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.543/2.543, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 63.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.005651/1.013, allocations: 2.469 MB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003592/1.016, allocations: 1.575 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/1.017, allocations: 11.88 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009379/1.018, allocations: 322.8 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009841/1.019, allocations: 338.6 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/1.02, allocations: 445.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001115/1.021, allocations: 0.7129 MB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/1.021, allocations: 77.73 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/1.022, allocations: 338.7 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/1.022, allocations: 334.6 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/1.022, allocations: 28 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/1.023, allocations: 83.97 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/1.023, allocations: 191.3 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/1.023, allocations: 270.1 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008895/1.024, allocations: 0.7489 MB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/1.024, allocations: 4 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/1.024, allocations: 4 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.024, allocations: 0 / 1.175 GB, free: 11.88 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.00194/1.026, allocations: 0.9989 MB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.026, allocations: 8.922 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.026, allocations: 79.94 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.027, allocations: 0.6289 MB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.027, allocations: 12.36 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/1.027, allocations: 15.94 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/1.028, allocations: 193.8 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.028, allocations: 3.938 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/1.028, allocations: 8 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.028, allocations: 4 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/1.028, allocations: 99.88 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/1.029, allocations: 1.052 MB / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/1.03, allocations: 273 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/1.03, allocations: 112.2 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/1.03, allocations: 11.92 kB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/1.031, allocations: 224 kB / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/1.031, allocations: 0 / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.001032/1.032, allocations: 417.5 kB / 1.179 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/1.032, allocations: 166.2 kB / 1.179 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.033, allocations: 1.036 MB / 1.18 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/1.033, allocations: 41.7 kB / 1.18 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.034, allocations: 288.8 kB / 1.181 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/1.034, allocations: 75.09 kB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.034, allocations: 138.1 kB / 1.181 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.034, allocations: 334 kB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/1.035, allocations: 209.2 kB / 1.181 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/1.035, allocations: 307 kB / 1.182 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/1.036, allocations: 414.7 kB / 1.182 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.036, allocations: 4 kB / 1.182 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001107/1.037, allocations: 0.6706 MB / 1.183 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.037, allocations: 8 kB / 1.183 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.037, allocations: 4 kB / 1.183 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.037, allocations: 4 kB / 1.183 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.037, allocations: 115.8 kB / 1.183 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.037, allocations: 7.938 kB / 1.183 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/1.037, allocations: 43.73 kB / 1.183 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/1.038, allocations: 23.98 kB / 1.183 GB, free: 3.527 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.0003619/1.038, allocations: 284 kB / 1.183 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/1.038, allocations: 75.05 kB / 1.183 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/1.038, allocations: 69.89 kB / 1.183 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/1.038, allocations: 7.984 kB / 1.183 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.038, allocations: 0 / 1.183 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/1.038, allocations: 156.2 kB / 1.183 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/1.038, allocations: 11.94 kB / 1.183 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/1.039, allocations: 16.17 kB / 1.183 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/1.039, allocations: 23.97 kB / 1.183 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007992/1.039, allocations: 0.6775 MB / 1.184 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008129/1.04, allocations: 0.8073 MB / 1.185 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002105/1.041, allocations: 100.2 kB / 1.185 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006894/1.041, allocations: 0.6044 MB / 1.186 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/1.041, allocations: 7.938 kB / 1.186 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002786/1.044, allocations: 0.8752 MB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of SimCode: time 0.002534/1.047, allocations: 1.621 MB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of Templates: time 0.01648/1.063, allocations: 8.015 MB / 1.196 GB, free: 6.355 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