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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 102.4 kB / 16.4 MB, free: 6.496 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 190.8 kB / 19.35 MB, free: 3.754 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437 MB / 0.717 GB, free: 4.137 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=511,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=511,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 71.88 kB / 1.027 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 151.6 MB / 1.175 GB, free: 17.92 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003546/1.026, allocations: 2.47 MB / 1.178 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002534/1.029, allocations: 1.579 MB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/1.029, allocations: 14.22 kB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007239/1.03, allocations: 323.1 kB / 1.179 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/1.031, allocations: 336.5 kB / 1.18 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/1.032, allocations: 442.7 kB / 1.18 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008421/1.033, allocations: 0.7117 MB / 1.181 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/1.033, allocations: 83.14 kB / 1.181 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/1.033, allocations: 317.7 kB / 1.181 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/1.034, allocations: 326.1 kB / 1.182 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/1.034, allocations: 29.78 kB / 1.182 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/1.034, allocations: 86.42 kB / 1.182 GB, free: 13.96 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/1.034, allocations: 185.8 kB / 1.182 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/1.034, allocations: 277.5 kB / 1.182 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000857/1.035, allocations: 0.7433 MB / 1.183 GB, free: 13.39 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.035, allocations: 3.938 kB / 1.183 GB, free: 13.39 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/1.035, allocations: 0 / 1.183 GB, free: 13.39 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.128e-06/1.035, allocations: 0 / 1.183 GB, free: 13.39 MB / 0.92 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.001446/1.037, allocations: 1.037 MB / 1.184 GB, free: 12.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.037, allocations: 10.17 kB / 1.184 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/1.037, allocations: 78.06 kB / 1.184 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/1.038, allocations: 0.6326 MB / 1.185 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.038, allocations: 10.36 kB / 1.185 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/1.038, allocations: 14.78 kB / 1.185 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/1.038, allocations: 200 kB / 1.185 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.038, allocations: 0 / 1.185 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.038, allocations: 2.547 kB / 1.185 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.038, allocations: 4 kB / 1.185 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/1.039, allocations: 101 kB / 1.185 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.04, allocations: 1.051 MB / 1.186 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/1.04, allocations: 277.1 kB / 1.186 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/1.041, allocations: 106 kB / 1.186 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/1.041, allocations: 5.109 kB / 1.186 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/1.041, allocations: 228.3 kB / 1.187 GB, free: 10.81 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.472e-06/1.041, allocations: 3.938 kB / 1.187 GB, free: 10.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.0009723/1.042, allocations: 433.5 kB / 1.187 GB, free: 10.63 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.042, allocations: 161.3 kB / 1.187 GB, free: 10.44 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.043, allocations: 1.039 MB / 1.188 GB, free: 10.05 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/1.043, allocations: 33.44 kB / 1.188 GB, free: 10.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.044, allocations: 292.1 kB / 1.188 GB, free: 9.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/1.044, allocations: 80.72 kB / 1.188 GB, free: 9.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/1.044, allocations: 148.1 kB / 1.189 GB, free: 9.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.445e-05/1.044, allocations: 326.8 kB / 1.189 GB, free: 9.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/1.044, allocations: 209.9 kB / 1.189 GB, free: 9.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/1.045, allocations: 310 kB / 1.189 GB, free: 9.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/1.045, allocations: 408.4 kB / 1.19 GB, free: 8.895 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.045, allocations: 0.8438 kB / 1.19 GB, free: 8.895 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001126/1.047, allocations: 0.676 MB / 1.19 GB, free: 8.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.047, allocations: 8.312 kB / 1.19 GB, free: 8.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.047, allocations: 6.594 kB / 1.19 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.047, allocations: 9.688 kB / 1.191 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/1.047, allocations: 115.6 kB / 1.191 GB, free: 8.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.047, allocations: 9.281 kB / 1.191 GB, free: 8.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/1.047, allocations: 42.3 kB / 1.191 GB, free: 8.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/1.048, allocations: 25.75 kB / 1.191 GB, free: 8.578 MB / 0.92 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.0003099/1.048, allocations: 272.2 kB / 1.191 GB, free: 8.402 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/1.048, allocations: 78.27 kB / 1.191 GB, free: 8.359 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/1.048, allocations: 72.39 kB / 1.191 GB, free: 8.324 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.048, allocations: 7.625 kB / 1.191 GB, free: 8.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.048, allocations: 6.797 kB / 1.191 GB, free: 8.316 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.048, allocations: 1.969 kB / 1.191 GB, free: 8.316 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/1.049, allocations: 469.9 kB / 1.192 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.049, allocations: 1.312 kB / 1.192 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/1.049, allocations: 26.81 kB / 1.192 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.049, allocations: 2.125 kB / 1.192 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/1.049, allocations: 8.266 kB / 1.192 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.049, allocations: 2.109 kB / 1.192 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.049, allocations: 5.281 kB / 1.192 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/1.049, allocations: 397.4 kB / 1.192 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.05, allocations: 159.4 kB / 1.192 GB, free: 7.648 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/1.05, allocations: 19.58 kB / 1.192 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.05, allocations: 16.17 kB / 1.192 GB, free: 7.633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/1.05, allocations: 25.28 kB / 1.192 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/1.05, allocations: 17.06 kB / 1.192 GB, free: 7.621 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007287/1.051, allocations: 0.6019 MB / 1.193 GB, free: 7.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.41e-07/1.051, allocations: 0.9688 kB / 1.193 GB, free: 7.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004409/1.051, allocations: 117.6 kB / 1.193 GB, free: 7.352 MB / 0.92 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.001717/1.053, allocations: 488.3 kB / 1.193 GB, free: 7.113 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008164/1.054, allocations: 401 kB / 1.194 GB, free: 6.953 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.054, allocations: 1.094 kB / 1.194 GB, free: 6.953 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/1.054, allocations: 111.2 kB / 1.194 GB, free: 6.902 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/1.055, allocations: 217.7 kB / 1.194 GB, free: 6.797 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/1.056, allocations: 1.101 MB / 1.195 GB, free: 6.125 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.057, allocations: 0.9254 MB / 1.196 GB, free: 5.312 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002836/1.057, allocations: 119.5 kB / 1.196 GB, free: 5.262 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/1.057, allocations: 59.88 kB / 1.196 GB, free: 5.242 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/1.057, allocations: 1.719 kB / 1.196 GB, free: 5.242 MB / 0.92 GB Notification: Performance of Templates: time 0.0137/1.071, allocations: 7.826 MB / 1.204 GB, free: 1.414 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches