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.00113/0.00113, allocations: 108 kB / 16.41 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.001152/0.001152, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 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.195/2.195, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 60.14 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8295, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003495/0.8331, allocations: 2.47 MB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.8357, allocations: 1.579 MB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.836, allocations: 9.781 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.8367, allocations: 319.5 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.8374, allocations: 350.1 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.8385, allocations: 436.2 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009502/0.8395, allocations: 0.7133 MB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.8397, allocations: 78.42 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.8402, allocations: 348 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.8407, allocations: 318.4 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/0.8408, allocations: 30.19 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.8411, allocations: 87.66 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.8414, allocations: 198.8 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.8416, allocations: 270 kB / 1.096 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009349/0.8425, allocations: 0.7429 MB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8425, allocations: 0 / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8426, allocations: 0 / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.8426, allocations: 0 / 1.096 GB, free: 0.9844 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.001595/0.8442, allocations: 1.001 MB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.8442, allocations: 13.25 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.8444, allocations: 74.62 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.8454, allocations: 0.6272 MB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.8455, allocations: 14.92 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.8455, allocations: 21.67 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.846, allocations: 204.2 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.846, allocations: 0.75 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.846, allocations: 3.703 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.8461, allocations: 2.312 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.8463, allocations: 105.5 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.8479, allocations: 1.051 MB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.8486, allocations: 277.1 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.8488, allocations: 106.2 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.8488, allocations: 9.406 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.8493, allocations: 215.6 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.8493, allocations: 0 / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.001074/0.8504, allocations: 419.3 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.8505, allocations: 171.7 kB / 1.101 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.8521, allocations: 1.037 MB / 1.102 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.8521, allocations: 34.45 kB / 1.102 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.8524, allocations: 291.6 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.8525, allocations: 76.2 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.8528, allocations: 140.6 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8529, allocations: 326.5 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.8534, allocations: 219 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.854, allocations: 302.3 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.8547, allocations: 413.3 kB / 1.103 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.8547, allocations: 5.062 kB / 1.103 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001225/0.856, allocations: 0.6713 MB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.856, allocations: 6.109 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.856, allocations: 2.406 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.856, allocations: 5.312 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.8565, allocations: 115.9 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.8565, allocations: 12.8 kB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.8569, allocations: 39.55 kB / 1.104 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.8569, allocations: 33.53 kB / 1.104 GB, free: 12.21 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.0003786/0.8573, allocations: 276.4 kB / 1.104 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.8574, allocations: 74.03 kB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.8576, allocations: 76.83 kB / 1.105 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.8576, allocations: 4.297 kB / 1.105 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.8576, allocations: 5.25 kB / 1.105 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.8576, allocations: 6.781 kB / 1.105 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.8582, allocations: 461.7 kB / 1.105 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8582, allocations: 1.062 kB / 1.105 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.8583, allocations: 23.2 kB / 1.105 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8583, allocations: 2.25 kB / 1.105 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.8583, allocations: 11.31 kB / 1.105 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8583, allocations: 2.281 kB / 1.105 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8584, allocations: 5.625 kB / 1.105 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.859, allocations: 390.7 kB / 1.105 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.8592, allocations: 163.9 kB / 1.106 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/0.8593, allocations: 9.703 kB / 1.106 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.8595, allocations: 22.58 kB / 1.106 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.8595, allocations: 29.55 kB / 1.106 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.8596, allocations: 13.44 kB / 1.106 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008153/0.8604, allocations: 0.6025 MB / 1.106 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8604, allocations: 0 / 1.106 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004678/0.8609, allocations: 108 kB / 1.106 GB, free: 11.02 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.001167/0.8621, allocations: 493.6 kB / 1.107 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.8629, allocations: 402.3 kB / 1.107 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8629, allocations: 320 / 1.107 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.8632, allocations: 104.6 kB / 1.107 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.8642, allocations: 228.3 kB / 1.108 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.8661, allocations: 1.141 MB / 1.109 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.8666, allocations: 0.9272 MB / 1.11 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.8668, allocations: 57.89 kB / 1.11 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.8668, allocations: 0 / 1.11 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.01842/0.8853, allocations: 8.88 MB / 1.118 GB, free: 8.102 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/jenkins1/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