Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.963/0.963, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.402/2.402, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.609e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002064/0.00208, allocations: 1.72 MB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.002894, allocations: 0.6543 MB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.002955, allocations: 3.938 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.003272, allocations: 131.5 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.003725, allocations: 199.2 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.003989, allocations: 207.4 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.004185, allocations: 219.5 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.004274, allocations: 26.45 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.004803, allocations: 190.7 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.004946, allocations: 147.7 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.00497, allocations: 15.98 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.005039, allocations: 39.92 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.005106, allocations: 87.69 kB / 0.8421 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.005148, allocations: 47.78 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.005375, allocations: 199.2 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005377, allocations: 0 / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005377, allocations: 0 / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.005381, allocations: 0 / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000444/0.005825, allocations: 0.4949 MB / 0.8428 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.005855, allocations: 8.625 kB / 0.8428 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.005887, allocations: 16.92 kB / 0.8428 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.006127, allocations: 264 kB / 0.8431 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.006134, allocations: 384 / 0.8431 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.006144, allocations: 4.375 kB / 0.8431 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.006235, allocations: 70.88 kB / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.00624, allocations: 192 / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.006248, allocations: 8.125 kB / 0.8431 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.006252, allocations: 4 kB / 0.8431 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.006277, allocations: 7.984 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.006508, allocations: 206.9 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.006563, allocations: 34.55 kB / 0.8434 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.006578, allocations: 12.8 kB / 0.8434 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.006593, allocations: 0 / 0.8434 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.006608, allocations: 38.66 kB / 0.8434 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.006609, allocations: 3.938 kB / 0.8434 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.486e-05/0.006704, allocations: 49.86 kB / 0.8435 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.006727, allocations: 51.41 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.006951, allocations: 365 kB / 0.8439 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.006959, allocations: 25.7 kB / 0.8439 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.007006, allocations: 129 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.007022, allocations: 11.83 kB / 0.844 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.007046, allocations: 21.7 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.007126, allocations: 342.8 kB / 0.8444 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-06/0.007134, allocations: 0 / 0.8444 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.007146, allocations: 11.98 kB / 0.8444 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.007167, allocations: 16.78 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007168, allocations: 0 / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.907e-05/0.007228, allocations: 61.61 kB / 0.8445 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.007237, allocations: 4 kB / 0.8445 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.00724, allocations: 0 / 0.8445 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.007248, allocations: 0 / 0.8445 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.007297, allocations: 11.98 kB / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.0073, allocations: 0 / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.007327, allocations: 0 / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.007331, allocations: 8 kB / 0.8445 GB, free: 7.996 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.867e-05/0.00739, allocations: 112.7 kB / 0.8446 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.007415, allocations: 23.86 kB / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.007493, allocations: 68.3 kB / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007494, allocations: 0 / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.007496, allocations: 0 / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.007498, allocations: 0 / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007611, allocations: 129.7 kB / 0.8448 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.007612, allocations: 0 / 0.8448 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.007634, allocations: 12 kB / 0.8448 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.007635, allocations: 4 kB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.007639, allocations: 3.938 kB / 0.8448 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00764, allocations: 0 / 0.8448 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00764, allocations: 0 / 0.8448 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.767e-05/0.007718, allocations: 151.5 kB / 0.845 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.007745, allocations: 27.81 kB / 0.845 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.007762, allocations: 7.938 kB / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.0078, allocations: 0 / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.007826, allocations: 7.984 kB / 0.845 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.007828, allocations: 0 / 0.845 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000119/0.007947, allocations: 159.5 kB / 0.8452 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007947, allocations: 4 kB / 0.8452 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001338/0.008081, allocations: 31.88 kB / 0.8452 GB, free: 7.211 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0008471/0.008928, allocations: 432.9 kB / 0.8456 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.008981, allocations: 24.83 kB / 0.8456 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.008987, allocations: 7.938 kB / 0.8456 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.009, allocations: 8.859 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.009189, allocations: 47.3 kB / 0.8457 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.009601, allocations: 411.6 kB / 0.8461 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.009657, allocations: 100.3 kB / 0.8462 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.009704, allocations: 33.92 kB / 0.8462 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.009785, allocations: 83.36 kB / 0.8463 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.009785, allocations: 0 / 0.8463 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of Templates: time 0.00449/0.01428, allocations: 2.579 MB / 0.8488 GB, free: 3.688 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.178832470905036]