Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001317/0.001317, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001212/0.001212, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 67.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.739, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003873/0.7429, allocations: 2.488 MB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.7457, allocations: 1.567 MB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.7461, allocations: 15.88 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.7468, allocations: 322.9 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.7476, allocations: 338.5 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7487, allocations: 446 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.7497, allocations: 0.709 MB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.7499, allocations: 81.7 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.7506, allocations: 346.7 kB / 1.215 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.751, allocations: 318.6 kB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.7512, allocations: 36 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.7514, allocations: 87.97 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.7516, allocations: 187.3 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.7519, allocations: 266.2 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000807/0.7527, allocations: 0.745 MB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7527, allocations: 0 / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7527, allocations: 0 / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.7527, allocations: 0 / 1.216 GB, free: 5.703 MB / 0.9356 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.001746/0.7545, allocations: 1.007 MB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7545, allocations: 8.031 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.7547, allocations: 75.98 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009452/0.7556, allocations: 0.6211 MB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.7557, allocations: 20.3 kB / 1.218 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.7557, allocations: 11.94 kB / 1.218 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.7561, allocations: 197.8 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7561, allocations: 4 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.7561, allocations: 0 / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7561, allocations: 4 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.7564, allocations: 99.81 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.7578, allocations: 1.052 MB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.7584, allocations: 285 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.7586, allocations: 100.2 kB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.7587, allocations: 11.97 kB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.7591, allocations: 235.7 kB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.7591, allocations: 0 / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.0009773/0.7601, allocations: 424.5 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.7602, allocations: 162.2 kB / 1.22 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.7615, allocations: 1.036 MB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.7616, allocations: 33.7 kB / 1.221 GB, free: 28 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.7619, allocations: 288.8 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.762, allocations: 83.02 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.7622, allocations: 150.1 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7623, allocations: 326 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.7627, allocations: 209.2 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.7631, allocations: 311 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.7638, allocations: 416.2 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7638, allocations: 1.25 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001186/0.765, allocations: 0.6674 MB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.765, allocations: 10.03 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7651, allocations: 3.984 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.7651, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.7655, allocations: 116 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.7655, allocations: 15.92 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.7658, allocations: 35.73 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.7659, allocations: 24 kB / 1.224 GB, free: 13.33 MB / 0.9512 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.0003181/0.7662, allocations: 277.6 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7663, allocations: 75.06 kB / 1.224 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.7664, allocations: 73.88 kB / 1.224 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.7664, allocations: 8 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7665, allocations: 3.938 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7665, allocations: 4 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.767, allocations: 465.2 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.767, allocations: 4 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.7671, allocations: 19.94 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.7671, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.7671, allocations: 7.984 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7671, allocations: 4 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7671, allocations: 3.938 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.7678, allocations: 391.5 kB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.768, allocations: 160.1 kB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.7681, allocations: 12 kB / 1.225 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.7682, allocations: 19.97 kB / 1.225 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.7683, allocations: 23.92 kB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.7683, allocations: 15.98 kB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006914/0.769, allocations: 0.6005 MB / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.404e-06/0.769, allocations: 0 / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004271/0.7695, allocations: 119.9 kB / 1.226 GB, free: 10.96 MB / 0.9512 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.001098/0.7706, allocations: 496.4 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.7713, allocations: 411 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7713, allocations: 0 / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.7716, allocations: 107.8 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.7725, allocations: 211.1 kB / 1.227 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.774, allocations: 1.137 MB / 1.228 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.7746, allocations: 0.9246 MB / 1.229 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.7747, allocations: 59.42 kB / 1.229 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7747, allocations: 0 / 1.229 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of Templates: time 0.01266/0.7874, allocations: 8.877 MB / 1.238 GB, free: 14.94 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches