Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.002064/0.002064, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002814/0.002814, allocations: 187.2 kB / 22.22 MB, free: 5.105 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.558/1.558, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.746/2.746, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.91 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 160.8 MB / 1.218 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002365/1.107, allocations: 0.8694 MB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002417/1.11, allocations: 1.468 MB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/1.11, allocations: 7.469 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005716/1.11, allocations: 201.3 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/1.111, allocations: 111.1 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/1.112, allocations: 376.1 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001177/1.113, allocations: 0.887 MB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/1.113, allocations: 55.73 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/1.114, allocations: 358 kB / 1.223 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/1.114, allocations: 284.5 kB / 1.223 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/1.114, allocations: 45 kB / 1.223 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/1.115, allocations: 133 kB / 1.223 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000572/1.115, allocations: 359.4 kB / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004139/1.116, allocations: 267.6 kB / 1.224 GB, free: 240 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/1.117, allocations: 0.9196 MB / 1.225 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.117, allocations: 0 / 1.225 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.624e-06/1.117, allocations: 4 kB / 1.225 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.626e-05/1.117, allocations: 1.625 kB / 1.225 GB, free: 15.61 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001833/1.119, allocations: 0.9073 MB / 1.226 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.119, allocations: 8.688 kB / 1.226 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/1.119, allocations: 54.84 kB / 1.226 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.12, allocations: 0.5376 MB / 1.226 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/1.12, allocations: 28.31 kB / 1.226 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.12, allocations: 35.28 kB / 1.226 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/1.121, allocations: 312.5 kB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.121, allocations: 192 / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/1.121, allocations: 6.469 kB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.121, allocations: 2.031 kB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/1.121, allocations: 222.7 kB / 1.227 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/1.124, allocations: 1.184 MB / 1.228 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007197/1.124, allocations: 462.3 kB / 1.228 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/1.125, allocations: 195.1 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/1.125, allocations: 2.469 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/1.125, allocations: 335.4 kB / 1.229 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 1.794e-06/1.125, allocations: 0 / 1.229 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001168/1.126, allocations: 0.6266 MB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.126, allocations: 122.7 kB / 1.23 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/1.127, allocations: 0.5955 MB / 1.23 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.127, allocations: 41.7 kB / 1.23 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/1.128, allocations: 213.7 kB / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/1.128, allocations: 55.59 kB / 1.23 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/1.128, allocations: 189.5 kB / 1.231 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.128, allocations: 358.8 kB / 1.231 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/1.128, allocations: 131.7 kB / 1.231 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009487/1.129, allocations: 0.7146 MB / 1.232 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/1.13, allocations: 300.4 kB / 1.232 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.13, allocations: 0 / 1.232 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007206/1.13, allocations: 428.9 kB / 1.232 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.13, allocations: 4 kB / 1.232 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.13, allocations: 7.938 kB / 1.232 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.13, allocations: 8 kB / 1.232 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/1.131, allocations: 35.8 kB / 1.232 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.131, allocations: 4.375 kB / 1.232 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.132, allocations: 131.9 kB / 1.233 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/1.132, allocations: 12 kB / 1.233 GB, free: 8.273 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0004241/1.132, allocations: 261.9 kB / 1.233 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/1.132, allocations: 43.72 kB / 1.233 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.951e-05/1.132, allocations: 51.36 kB / 1.233 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/1.133, allocations: 7.938 kB / 1.233 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.133, allocations: 4 kB / 1.233 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.133, allocations: 0 / 1.233 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/1.133, allocations: 413.2 kB / 1.233 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.133, allocations: 0 / 1.233 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/1.133, allocations: 7.938 kB / 1.233 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.133, allocations: 4 kB / 1.233 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.133, allocations: 11.98 kB / 1.233 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.133, allocations: 7.938 kB / 1.233 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.133, allocations: 0 / 1.233 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/1.134, allocations: 0.51 MB / 1.234 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.134, allocations: 125 kB / 1.234 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/1.134, allocations: 15.92 kB / 1.234 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/1.134, allocations: 23.92 kB / 1.234 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.134, allocations: 31.95 kB / 1.234 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/1.134, allocations: 11.94 kB / 1.234 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005648/1.135, allocations: 439 kB / 1.235 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.135, allocations: 0 / 1.235 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005352/1.135, allocations: 111.8 kB / 1.235 GB, free: 6.125 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003048/1.136, allocations: 153.6 kB / 1.235 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006365/1.136, allocations: 343.6 kB / 1.235 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.136, allocations: 4 kB / 1.235 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/1.137, allocations: 163.8 kB / 1.235 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.137, allocations: 34.7 kB / 1.235 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/1.138, allocations: 0.8382 MB / 1.236 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/1.139, allocations: 0.835 MB / 1.237 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002892/1.139, allocations: 90.94 kB / 1.237 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/1.139, allocations: 43.36 kB / 1.237 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/1.139, allocations: 0 / 1.237 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of Templates: time 0.01625/1.155, allocations: 8.098 MB / 1.245 GB, free: 11.55 MB / 0.9513 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.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: 9.945114066824317]