Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 112 kB / 16.42 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.001529/0.001529, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9176, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.003643/0.9213, allocations: 2.475 MB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.924, allocations: 1.571 MB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.9242, allocations: 13.56 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.925, allocations: 324.2 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.9257, allocations: 345.8 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.9267, allocations: 441.7 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008835/0.9276, allocations: 0.7082 MB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.9278, allocations: 78.75 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.9283, allocations: 348 kB / 1.095 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.9287, allocations: 322.5 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.9288, allocations: 30 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.9291, allocations: 86.72 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.9293, allocations: 191.5 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.9296, allocations: 273.2 kB / 1.096 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000963/0.9305, allocations: 0.7388 MB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9305, allocations: 4.875 kB / 1.096 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9306, allocations: 0.75 kB / 1.096 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.9306, allocations: 0.5312 kB / 1.096 GB, free: 0.9883 MB / 0.8575 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.001645/0.9322, allocations: 1.005 MB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.9323, allocations: 9.156 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.9324, allocations: 77.77 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.9334, allocations: 0.6241 MB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.9334, allocations: 10.53 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.9335, allocations: 18.78 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.9339, allocations: 199.4 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.934, allocations: 4 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.934, allocations: 7.375 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.934, allocations: 6.656 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.9343, allocations: 97.89 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.9358, allocations: 1.052 MB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.9365, allocations: 275.6 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.9367, allocations: 106.9 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.9368, allocations: 13.45 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.9372, allocations: 220.1 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.9372, allocations: 0 / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.001088/0.9383, allocations: 424 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.9384, allocations: 158.8 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.9399, allocations: 1.046 MB / 1.102 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.94, allocations: 34.28 kB / 1.102 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.9402, allocations: 290.4 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.9403, allocations: 73.5 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.9405, allocations: 139.9 kB / 1.102 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9407, allocations: 326.4 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.9411, allocations: 213.9 kB / 1.103 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.9417, allocations: 310 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.9424, allocations: 408.3 kB / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9424, allocations: 0 / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001187/0.9436, allocations: 0.6765 MB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9437, allocations: 8.891 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.9437, allocations: 2.812 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.9437, allocations: 4.219 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.9441, allocations: 115.6 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.9442, allocations: 14.31 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.9445, allocations: 42 kB / 1.104 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.9445, allocations: 30.67 kB / 1.104 GB, free: 12.22 MB / 0.8731 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.0003316/0.9449, allocations: 277.5 kB / 1.104 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.945, allocations: 77.25 kB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.9451, allocations: 68.75 kB / 1.105 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.9451, allocations: 3.844 kB / 1.105 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9451, allocations: 1.188 kB / 1.105 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.9453, allocations: 159.5 kB / 1.105 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.9454, allocations: 13.38 kB / 1.105 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.9456, allocations: 23.03 kB / 1.105 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.9457, allocations: 20.09 kB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007595/0.9465, allocations: 0.6752 MB / 1.105 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007945/0.9473, allocations: 0.8026 MB / 1.106 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002268/0.9475, allocations: 104.6 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008082/0.9484, allocations: 0.602 MB / 1.107 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of Backend: time 3.4e-07/0.9484, allocations: 5 kB / 1.107 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.9509, allocations: 0.8817 MB / 1.108 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002315/0.9533, allocations: 1.616 MB / 1.109 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of Templates: time 0.01774/0.971, allocations: 8.006 MB / 1.117 GB, free: 8.371 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches