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.001182/0.001182, allocations: 108 kB / 16.41 MB, free: 6.492 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.001155/0.001155, allocations: 185.5 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 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.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8194, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003522/0.8229, allocations: 2.462 MB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.8256, allocations: 1.571 MB / 1.093 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.826, allocations: 17.53 kB / 1.093 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.8267, allocations: 323.3 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.8274, allocations: 337 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.8285, allocations: 447 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.8295, allocations: 0.7121 MB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.8297, allocations: 74.02 kB / 1.094 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.8302, allocations: 343.7 kB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.8306, allocations: 319 kB / 1.095 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.8307, allocations: 30.03 kB / 1.095 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.831, allocations: 90.61 kB / 1.095 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.8312, allocations: 195.1 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.8315, allocations: 274.4 kB / 1.096 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.8324, allocations: 0.7418 MB / 1.096 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8324, allocations: 5.344 kB / 1.096 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8324, allocations: 0 / 1.096 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.8324, allocations: 0.7812 kB / 1.096 GB, free: 1.23 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.001501/0.8339, allocations: 0.9977 MB / 1.097 GB, free: 480 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.834, allocations: 8.625 kB / 1.097 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.8341, allocations: 74.2 kB / 1.097 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.835, allocations: 0.6315 MB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.835, allocations: 10.69 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.835, allocations: 18.42 kB / 1.098 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.8355, allocations: 201.7 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8355, allocations: 5.156 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.8356, allocations: 6.875 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8356, allocations: 3.344 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.8358, allocations: 97.33 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.8373, allocations: 1.059 MB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.8379, allocations: 276.4 kB / 1.1 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.8382, allocations: 109.9 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.8382, allocations: 5.891 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/0.8387, allocations: 225.8 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.8387, allocations: 0 / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.0011/0.8398, allocations: 424.6 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.8399, allocations: 162.6 kB / 1.101 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.8415, allocations: 1.033 MB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.8415, allocations: 38.11 kB / 1.102 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.8418, allocations: 292.4 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.8419, allocations: 80.3 kB / 1.102 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.8421, allocations: 137.1 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8422, allocations: 329.9 kB / 1.102 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.8426, allocations: 209 kB / 1.103 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.8432, allocations: 310.4 kB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.844, allocations: 412.8 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.844, allocations: 1.25 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001208/0.8452, allocations: 0.6681 MB / 1.104 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8452, allocations: 5.281 kB / 1.104 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8453, allocations: 2.656 kB / 1.104 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.8453, allocations: 5.938 kB / 1.104 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.8457, allocations: 115 kB / 1.104 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.8457, allocations: 13.98 kB / 1.104 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.8461, allocations: 41.89 kB / 1.104 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.8462, allocations: 33.92 kB / 1.104 GB, free: 12.46 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.0003805/0.8466, allocations: 276.8 kB / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.8467, allocations: 74.11 kB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.8468, allocations: 76.2 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8468, allocations: 4.062 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.8468, allocations: 5.906 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.8469, allocations: 3.969 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.8474, allocations: 453 kB / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8475, allocations: 1.438 kB / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.8475, allocations: 26.28 kB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8475, allocations: 2.75 kB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.8476, allocations: 6.391 kB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.8476, allocations: 10.89 kB / 1.105 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8476, allocations: 5.062 kB / 1.105 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.8483, allocations: 389.1 kB / 1.105 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.8485, allocations: 159.5 kB / 1.106 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.8485, allocations: 11.41 kB / 1.106 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.8487, allocations: 16.89 kB / 1.106 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.8488, allocations: 29.16 kB / 1.106 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.8488, allocations: 16.86 kB / 1.106 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008531/0.8497, allocations: 0.6035 MB / 1.106 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8497, allocations: 0 / 1.106 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005572/0.8503, allocations: 116 kB / 1.106 GB, free: 11.27 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.00119/0.8515, allocations: 491.8 kB / 1.107 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008159/0.8523, allocations: 403 kB / 1.107 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8523, allocations: 0 / 1.107 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.8526, allocations: 106.4 kB / 1.107 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.8536, allocations: 230.8 kB / 1.108 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.8555, allocations: 1.127 MB / 1.109 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.8561, allocations: 0.9277 MB / 1.11 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.8562, allocations: 62.48 kB / 1.11 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8562, allocations: 0 / 1.11 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of Templates: time 0.01831/0.8746, allocations: 8.889 MB / 1.118 GB, free: 8.352 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