Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009976, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001425/0.001425, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004246, allocations: 12 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8359, allocations: 153.8 MB / 1.022 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002784/0.8387, allocations: 2.074 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.8412, allocations: 1.498 MB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.8414, allocations: 7.938 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.842, allocations: 287.2 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.8426, allocations: 270.9 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.8435, allocations: 371.8 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.8442, allocations: 0.6035 MB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.8444, allocations: 77.72 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.8448, allocations: 274.7 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.8451, allocations: 274.8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.8452, allocations: 12 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.8454, allocations: 55.98 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.8456, allocations: 175.4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.8457, allocations: 121.3 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.8463, allocations: 0.5826 MB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8463, allocations: 0 / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.917e-06/0.8463, allocations: 0 / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8463, allocations: 3.938 kB / 1.029 GB, free: 9.512 MB / 0.7794 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.001333/0.8476, allocations: 0.8941 MB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8477, allocations: 12.56 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.8478, allocations: 75.06 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.8487, allocations: 0.5892 MB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.8487, allocations: 15.92 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.8488, allocations: 11.95 kB / 1.03 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.8491, allocations: 211.2 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8492, allocations: 0 / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.8492, allocations: 4 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.8492, allocations: 0 / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.8494, allocations: 99.81 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.8507, allocations: 1.059 MB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.8513, allocations: 281 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.8515, allocations: 104.2 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.8515, allocations: 11.92 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.8519, allocations: 216.2 kB / 1.032 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.852, allocations: 0 / 1.032 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008938/0.8528, allocations: 425.5 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.8529, allocations: 158.2 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.8543, allocations: 1.032 MB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.8543, allocations: 33.7 kB / 1.034 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.8546, allocations: 292.8 kB / 1.034 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.8547, allocations: 79.08 kB / 1.034 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.8547, allocations: 12 kB / 1.034 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8548, allocations: 337.9 kB / 1.035 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.8552, allocations: 209.2 kB / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.8557, allocations: 303 kB / 1.035 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.8561, allocations: 239.8 kB / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8561, allocations: 0 / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001065/0.8572, allocations: 0.6683 MB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8572, allocations: 8 kB / 1.036 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.8572, allocations: 4 kB / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.8572, allocations: 4 kB / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.8576, allocations: 115.8 kB / 1.036 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.8577, allocations: 4 kB / 1.036 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.8579, allocations: 39.73 kB / 1.036 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.858, allocations: 31.98 kB / 1.036 GB, free: 1.637 MB / 0.7794 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.8584, allocations: 277.6 kB / 1.037 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.8585, allocations: 75.06 kB / 1.037 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.8586, allocations: 65.89 kB / 1.037 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8586, allocations: 4 kB / 1.037 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8586, allocations: 0 / 1.037 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.8586, allocations: 7.984 kB / 1.037 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.8591, allocations: 465.1 kB / 1.037 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8591, allocations: 4 kB / 1.037 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.8592, allocations: 27.86 kB / 1.037 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8592, allocations: 7.938 kB / 1.037 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.8592, allocations: 12 kB / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8592, allocations: 192 / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.8593, allocations: 11.98 kB / 1.037 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.8599, allocations: 394.9 kB / 1.038 GB, free: 228 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.86, allocations: 172.1 kB / 1.038 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.8601, allocations: 11.98 kB / 1.038 GB, free: 24 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.8603, allocations: 19.98 kB / 1.038 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.8604, allocations: 19.97 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.8604, allocations: 12 kB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007311/0.8611, allocations: 0.6044 MB / 1.038 GB, free: 15.37 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.8611, allocations: 0 / 1.038 GB, free: 15.37 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004746/0.8616, allocations: 115.9 kB / 1.038 GB, free: 15.26 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.863, allocations: 495.1 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007595/0.8638, allocations: 391.3 kB / 1.039 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.8638, allocations: 4 kB / 1.039 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.864, allocations: 104.3 kB / 1.039 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.8648, allocations: 201.4 kB / 1.04 GB, free: 14.28 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.8664, allocations: 1.186 MB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.8669, allocations: 0.9328 MB / 1.042 GB, free: 12.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002785/0.8672, allocations: 112.9 kB / 1.042 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.8674, allocations: 59.42 kB / 1.042 GB, free: 11.93 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.8674, allocations: 0 / 1.042 GB, free: 11.93 MB / 0.795 GB Notification: Performance of Templates: time 0.01372/0.8811, allocations: 7.127 MB / 1.049 GB, free: 4.887 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches