Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,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.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01017/0.01017, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.002154/0.002154, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.582/1.582, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.78/2.78, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 61 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4196, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004883/0.4245, allocations: 2.471 MB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003376/0.4279, allocations: 1.568 MB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.4285, allocations: 11.88 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008576/0.4294, allocations: 334.8 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.4305, allocations: 338.6 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.432, allocations: 443.8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.4334, allocations: 0.7129 MB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.4338, allocations: 85.7 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.4346, allocations: 342.7 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/0.4353, allocations: 326.7 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.4355, allocations: 31.94 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.4358, allocations: 87.97 kB / 1.095 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4361, allocations: 191.3 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.4365, allocations: 274.1 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.4376, allocations: 0.7356 MB / 1.096 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4376, allocations: 4 kB / 1.096 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4376, allocations: 0 / 1.096 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.4376, allocations: 4 kB / 1.096 GB, free: 9.559 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.002191/0.4398, allocations: 0.9987 MB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4399, allocations: 8.031 kB / 1.097 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.4401, allocations: 76 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4413, allocations: 0.625 MB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.4413, allocations: 12.36 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.4413, allocations: 19.94 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.4418, allocations: 201.7 kB / 1.098 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4418, allocations: 0 / 1.098 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.4419, allocations: 4 kB / 1.098 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4419, allocations: 0 / 1.098 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.4421, allocations: 103.9 kB / 1.098 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.4438, allocations: 1.056 MB / 1.099 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.4445, allocations: 277 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4447, allocations: 104.2 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.4448, allocations: 23.91 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.4452, allocations: 221.2 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.225e-06/0.4452, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001044/0.4463, allocations: 421.5 kB / 1.1 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4464, allocations: 162.2 kB / 1.1 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.4479, allocations: 1.036 MB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.448, allocations: 33.7 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.4483, allocations: 292.9 kB / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.4484, allocations: 71.09 kB / 1.101 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.4487, allocations: 142.2 kB / 1.101 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4489, allocations: 330 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.4493, allocations: 213.2 kB / 1.102 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.4498, allocations: 311.2 kB / 1.102 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.4505, allocations: 404.2 kB / 1.103 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.4505, allocations: 8 kB / 1.103 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001193/0.4517, allocations: 0.6657 MB / 1.103 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.4517, allocations: 12.16 kB / 1.103 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4517, allocations: 4 kB / 1.103 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4518, allocations: 4 kB / 1.103 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.4522, allocations: 115.8 kB / 1.103 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.4522, allocations: 11.88 kB / 1.103 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.4525, allocations: 47.66 kB / 1.103 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.4526, allocations: 20 kB / 1.103 GB, free: 1.199 MB / 0.8575 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.0003187/0.4529, allocations: 273.6 kB / 1.104 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.453, allocations: 75.06 kB / 1.104 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.4532, allocations: 77.86 kB / 1.104 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4532, allocations: 4 kB / 1.104 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4532, allocations: 7.938 kB / 1.104 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4532, allocations: 0 / 1.104 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.4537, allocations: 465.2 kB / 1.104 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4537, allocations: 0 / 1.104 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.4538, allocations: 19.98 kB / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4538, allocations: 4 kB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.4538, allocations: 11.98 kB / 1.104 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4538, allocations: 7.938 kB / 1.104 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.4538, allocations: 11.92 kB / 1.104 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.4545, allocations: 390.8 kB / 1.105 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4547, allocations: 168.1 kB / 1.105 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.4548, allocations: 8 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4549, allocations: 15.97 kB / 1.105 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.455, allocations: 31.86 kB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4551, allocations: 15.98 kB / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007143/0.4558, allocations: 0.6005 MB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4558, allocations: 4 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000464/0.4563, allocations: 112 kB / 1.106 GB, free: 14.82 MB / 0.8731 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.001275/0.4575, allocations: 483.1 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000788/0.4583, allocations: 404.6 kB / 1.107 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4584, allocations: 0 / 1.107 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.4586, allocations: 103.8 kB / 1.107 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.4595, allocations: 228.6 kB / 1.107 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4612, allocations: 1.076 MB / 1.108 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.4618, allocations: 0.9246 MB / 1.109 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.4621, allocations: 108.9 kB / 1.109 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4622, allocations: 63.41 kB / 1.109 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.224e-06/0.4622, allocations: 4 kB / 1.109 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.01535/0.4776, allocations: 7.814 MB / 1.117 GB, free: 3.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches