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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 114.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.213/3.213, allocations: 489.3 MB / 0.7687 GB, free: 3.953 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.88 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004426/1.085, allocations: 2.473 MB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003161/1.089, allocations: 1.579 MB / 1.267 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/1.089, allocations: 12.34 kB / 1.267 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008506/1.09, allocations: 324.3 kB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007889/1.091, allocations: 340.4 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/1.092, allocations: 444.1 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001131/1.093, allocations: 0.7069 MB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/1.093, allocations: 86.41 kB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/1.094, allocations: 318.9 kB / 1.269 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/1.094, allocations: 316.6 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/1.094, allocations: 30.41 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/1.095, allocations: 90.2 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/1.095, allocations: 190.3 kB / 1.269 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/1.095, allocations: 268.9 kB / 1.27 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009518/1.096, allocations: 0.7477 MB / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.096, allocations: 0 / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.096, allocations: 0 / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.096, allocations: 1.703 kB / 1.27 GB, free: 3.484 MB / 0.9981 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.001581/1.098, allocations: 1.023 MB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.098, allocations: 10.17 kB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/1.098, allocations: 85.83 kB / 1.271 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/1.099, allocations: 0.6371 MB / 1.272 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.099, allocations: 10.66 kB / 1.272 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/1.099, allocations: 18.61 kB / 1.272 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/1.1, allocations: 197 kB / 1.272 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.1, allocations: 0 / 1.272 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/1.1, allocations: 7.484 kB / 1.272 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.1, allocations: 7.594 kB / 1.272 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/1.1, allocations: 96.94 kB / 1.272 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.101, allocations: 1.052 MB / 1.273 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/1.102, allocations: 280.2 kB / 1.274 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/1.102, allocations: 111.5 kB / 1.274 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/1.102, allocations: 3.938 kB / 1.274 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/1.103, allocations: 223.9 kB / 1.274 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/1.103, allocations: 0 / 1.274 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.00105/1.104, allocations: 425.3 kB / 1.274 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/1.104, allocations: 176.3 kB / 1.275 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.105, allocations: 1.029 MB / 1.276 GB, free: 152 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/1.105, allocations: 33.61 kB / 1.276 GB, free: 116 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/1.106, allocations: 292.1 kB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.106, allocations: 80.25 kB / 1.276 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/1.106, allocations: 141 kB / 1.276 GB, free: 15.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.106, allocations: 330.3 kB / 1.276 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/1.107, allocations: 214.2 kB / 1.277 GB, free: 15.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/1.107, allocations: 302.1 kB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/1.108, allocations: 406.8 kB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.108, allocations: 1.031 kB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001358/1.109, allocations: 0.6908 MB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.109, allocations: 6.719 kB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.109, allocations: 2.281 kB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.109, allocations: 5.719 kB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/1.11, allocations: 116.3 kB / 1.278 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.11, allocations: 8.578 kB / 1.278 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/1.11, allocations: 46.5 kB / 1.278 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/1.11, allocations: 30.92 kB / 1.278 GB, free: 14.67 MB / 1.014 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.0005166/1.111, allocations: 264.1 kB / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.111, allocations: 77.83 kB / 1.278 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/1.111, allocations: 69.25 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.111, allocations: 3.625 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.111, allocations: 11.42 kB / 1.279 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.111, allocations: 4.422 kB / 1.279 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/1.112, allocations: 466.2 kB / 1.279 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.112, allocations: 5.5 kB / 1.279 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/1.112, allocations: 23.17 kB / 1.279 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/1.112, allocations: 2.531 kB / 1.279 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.112, allocations: 12.39 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.112, allocations: 0.9688 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.112, allocations: 6.578 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/1.113, allocations: 396.2 kB / 1.279 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/1.113, allocations: 164.9 kB / 1.28 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/1.114, allocations: 10.19 kB / 1.28 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.114, allocations: 18.23 kB / 1.28 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.114, allocations: 28.39 kB / 1.28 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/1.114, allocations: 12.81 kB / 1.28 GB, free: 13.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001228/1.115, allocations: 0.6077 MB / 1.28 GB, free: 13.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.11e-07/1.115, allocations: 0 / 1.28 GB, free: 13.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009288/1.116, allocations: 115.9 kB / 1.28 GB, free: 13.48 MB / 1.014 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.002193/1.118, allocations: 495.2 kB / 1.281 GB, free: 13.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.12, allocations: 402.5 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.12, allocations: 2.906 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/1.12, allocations: 117.7 kB / 1.281 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.121, allocations: 214.6 kB / 1.282 GB, free: 13.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/1.124, allocations: 1.152 MB / 1.283 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/1.125, allocations: 0.927 MB / 1.284 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/1.125, allocations: 62.78 kB / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of SimCode: time 8.61e-07/1.125, allocations: 0 / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of Templates: time 0.02163/1.146, allocations: 8.873 MB / 1.292 GB, free: 10.54 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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 [Calling sys.exit(0), Time elapsed: 13.065922915935516]