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.001821/0.001821, allocations: 107.3 kB / 18.19 MB, free: 3.879 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.002114/0.002114, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.479/1.479, allocations: 225.6 MB / 250 MB, free: 13.42 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.538/2.538, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 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.001928/0.001928, allocations: 67.89 kB / 1.06 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7826, allocations: 160.7 MB / 1.217 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004135/0.7868, allocations: 2.473 MB / 1.219 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.7899, allocations: 1.597 MB / 1.221 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.7902, allocations: 13.94 kB / 1.221 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.7908, allocations: 319.5 kB / 1.221 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.7915, allocations: 341.7 kB / 1.221 GB, free: 296 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.7925, allocations: 439.8 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008793/0.7934, allocations: 0.7124 MB / 1.222 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.7936, allocations: 58.98 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.7942, allocations: 348.8 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.7946, allocations: 348.9 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.7947, allocations: 29.97 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.7949, allocations: 87.3 kB / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.7951, allocations: 199.9 kB / 1.223 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.7954, allocations: 266.5 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.7964, allocations: 0.7555 MB / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.7964, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7964, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7964, allocations: 0 / 1.224 GB, free: 14.22 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.001801/0.7982, allocations: 1.025 MB / 1.225 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7982, allocations: 14.05 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.7984, allocations: 81.95 kB / 1.225 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.7994, allocations: 0.6358 MB / 1.226 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.7995, allocations: 9.938 kB / 1.226 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.7995, allocations: 21.28 kB / 1.226 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.8, allocations: 201.9 kB / 1.226 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8, allocations: 0 / 1.226 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.8, allocations: 6.406 kB / 1.226 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.8, allocations: 2.625 kB / 1.226 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.8003, allocations: 97.38 kB / 1.226 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.8019, allocations: 1.052 MB / 1.227 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.8026, allocations: 271.8 kB / 1.228 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.8028, allocations: 101.1 kB / 1.228 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.8028, allocations: 4.906 kB / 1.228 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.8033, allocations: 234 kB / 1.228 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.8033, allocations: 0 / 1.228 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001092/0.8043, allocations: 422.2 kB / 1.228 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.8045, allocations: 178.2 kB / 1.229 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.8059, allocations: 1.028 MB / 1.23 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.8059, allocations: 29.7 kB / 1.23 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.8062, allocations: 300.9 kB / 1.23 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.8063, allocations: 75.45 kB / 1.23 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.8065, allocations: 142.2 kB / 1.23 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8067, allocations: 326 kB / 1.23 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.8071, allocations: 217.2 kB / 1.231 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.8075, allocations: 307 kB / 1.231 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.8083, allocations: 409.7 kB / 1.231 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8083, allocations: 0 / 1.231 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001214/0.8095, allocations: 0.6768 MB / 1.232 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8095, allocations: 8 kB / 1.232 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8095, allocations: 0 / 1.232 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.8095, allocations: 8.125 kB / 1.232 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.81, allocations: 119.8 kB / 1.232 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.81, allocations: 7.938 kB / 1.232 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.8103, allocations: 43.92 kB / 1.232 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.8104, allocations: 31.98 kB / 1.232 GB, free: 7.387 MB / 0.9356 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.0003487/0.8107, allocations: 261.7 kB / 1.232 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8108, allocations: 87.47 kB / 1.232 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.8117, allocations: 359.2 kB / 1.233 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.8117, allocations: 4 kB / 1.233 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.8117, allocations: 11.94 kB / 1.233 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.8117, allocations: 4.297 kB / 1.233 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.8122, allocations: 465.2 kB / 1.233 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8122, allocations: 4 kB / 1.233 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.8123, allocations: 16 kB / 1.233 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8123, allocations: 4 kB / 1.233 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.8123, allocations: 11.98 kB / 1.233 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.8123, allocations: 4 kB / 1.233 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8123, allocations: 7.875 kB / 1.233 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.813, allocations: 398.3 kB / 1.234 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.8133, allocations: 164.5 kB / 1.234 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.8133, allocations: 8 kB / 1.234 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.8135, allocations: 27.97 kB / 1.234 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.8136, allocations: 23.86 kB / 1.234 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.8136, allocations: 15.98 kB / 1.234 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008053/0.8144, allocations: 0.6083 MB / 1.235 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8144, allocations: 0 / 1.235 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004516/0.8149, allocations: 115.9 kB / 1.235 GB, free: 4.715 MB / 0.9356 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * 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.001836/0.8167, allocations: 481.6 kB / 1.235 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.8175, allocations: 375.8 kB / 1.235 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8175, allocations: 4 kB / 1.235 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.8178, allocations: 95.83 kB / 1.236 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.8187, allocations: 215.7 kB / 1.236 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.8206, allocations: 1.159 MB / 1.237 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.8212, allocations: 0.9284 MB / 1.238 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.8213, allocations: 63.36 kB / 1.238 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of SimCode: time 7.31e-07/0.8213, allocations: 0 / 1.238 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.01458/0.8359, allocations: 8.885 MB / 1.247 GB, free: 8.688 MB / 0.9512 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/jenkins1/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