Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.008927/0.008927, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001942/0.001943, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.481/1.481, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7453 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.83 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.154, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.004883/1.159, allocations: 2.482 MB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003189/1.162, allocations: 1.576 MB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/1.162, allocations: 11.88 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007013/1.163, allocations: 314.9 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007711/1.164, allocations: 346.6 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/1.165, allocations: 441.6 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009502/1.166, allocations: 0.7051 MB / 1.231 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/1.166, allocations: 85.66 kB / 1.231 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/1.167, allocations: 314.7 kB / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/1.167, allocations: 318.8 kB / 1.232 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/1.167, allocations: 28 kB / 1.232 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/1.167, allocations: 95.91 kB / 1.232 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/1.168, allocations: 191.3 kB / 1.232 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003059/1.168, allocations: 274.1 kB / 1.233 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000846/1.169, allocations: 0.7433 MB / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.169, allocations: 0 / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.564e-06/1.169, allocations: 0 / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.169, allocations: 0 / 1.233 GB, free: 5.602 MB / 0.9512 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.001661/1.17, allocations: 1.03 MB / 1.234 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.17, allocations: 8.031 kB / 1.234 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/1.171, allocations: 80.42 kB / 1.234 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/1.172, allocations: 0.6296 MB / 1.235 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/1.172, allocations: 16.31 kB / 1.235 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/1.172, allocations: 15.94 kB / 1.235 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/1.172, allocations: 202.7 kB / 1.235 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.172, allocations: 3.984 kB / 1.235 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/1.172, allocations: 7.984 kB / 1.235 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.172, allocations: 7.938 kB / 1.235 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/1.173, allocations: 99.88 kB / 1.235 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/1.174, allocations: 1.052 MB / 1.236 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/1.175, allocations: 277 kB / 1.237 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/1.175, allocations: 104.2 kB / 1.237 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/1.175, allocations: 7.984 kB / 1.237 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004153/1.175, allocations: 230.9 kB / 1.237 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/1.175, allocations: 0 / 1.237 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.001087/1.176, allocations: 438 kB / 1.237 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/1.176, allocations: 162.2 kB / 1.238 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.178, allocations: 1.028 MB / 1.239 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/1.178, allocations: 37.7 kB / 1.239 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/1.178, allocations: 288.9 kB / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/1.178, allocations: 75.47 kB / 1.239 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.178, allocations: 142.2 kB / 1.239 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.178, allocations: 334 kB / 1.239 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/1.179, allocations: 209.2 kB / 1.24 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/1.179, allocations: 307 kB / 1.24 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/1.18, allocations: 415.4 kB / 1.24 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.18, allocations: 0 / 1.24 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001144/1.181, allocations: 0.668 MB / 1.241 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.181, allocations: 8 kB / 1.241 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.181, allocations: 4 kB / 1.241 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.181, allocations: 4 kB / 1.241 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/1.182, allocations: 120 kB / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.182, allocations: 7.938 kB / 1.241 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/1.182, allocations: 47.77 kB / 1.241 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/1.182, allocations: 23.98 kB / 1.241 GB, free: 13.18 MB / 0.9669 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.000372/1.182, allocations: 278.2 kB / 1.241 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.183, allocations: 75.48 kB / 1.242 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/1.183, allocations: 73.83 kB / 1.242 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.183, allocations: 7.984 kB / 1.242 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.183, allocations: 11.94 kB / 1.242 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.183, allocations: 0 / 1.242 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/1.183, allocations: 465.2 kB / 1.242 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.183, allocations: 0 / 1.242 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/1.183, allocations: 23.92 kB / 1.242 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.183, allocations: 4 kB / 1.242 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.184, allocations: 8 kB / 1.242 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.802e-05/1.184, allocations: 8.047 kB / 1.242 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.184, allocations: 7.938 kB / 1.242 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/1.184, allocations: 391.8 kB / 1.242 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.185, allocations: 160.6 kB / 1.243 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/1.185, allocations: 11.98 kB / 1.243 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/1.185, allocations: 19.98 kB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/1.185, allocations: 31.84 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.185, allocations: 16 kB / 1.243 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007544/1.186, allocations: 0.6005 MB / 1.243 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.186, allocations: 0 / 1.243 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004907/1.186, allocations: 123.9 kB / 1.243 GB, free: 10.79 MB / 0.9669 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.001264/1.188, allocations: 488.5 kB / 1.244 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000882/1.188, allocations: 403.5 kB / 1.244 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.188, allocations: 4.312 kB / 1.244 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/1.189, allocations: 104.4 kB / 1.244 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/1.19, allocations: 225.7 kB / 1.245 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/1.191, allocations: 1.094 MB / 1.246 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/1.192, allocations: 0.9284 MB / 1.247 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002944/1.192, allocations: 116.9 kB / 1.247 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.192, allocations: 55.42 kB / 1.247 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/1.192, allocations: 0 / 1.247 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of Templates: time 0.01722/1.21, allocations: 7.828 MB / 1.254 GB, free: 15.78 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches