Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.00107/0.00107, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001026/0.001026, allocations: 165.4 kB / 24.17 MB, free: 332 kB / 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.9936/0.9936, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.833e-05, allocations: 5.922 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001914/0.001933, allocations: 1.585 MB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006141/0.002547, allocations: 472.6 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.00258, allocations: 3.047 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.002607, allocations: 3.938 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.002685, allocations: 14.5 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.002805, allocations: 15.92 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.002879, allocations: 55.94 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.00296, allocations: 13.98 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.003022, allocations: 34.14 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.00308, allocations: 13.73 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.003097, allocations: 4 kB / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.003106, allocations: 9.188 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.003123, allocations: 11.98 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.003148, allocations: 15.97 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.992e-05/0.003228, allocations: 37.09 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00323, allocations: 0 / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.01e-07/0.00323, allocations: 0 / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.003233, allocations: 0.9062 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002877/0.003521, allocations: 256.8 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.003551, allocations: 12.72 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.003575, allocations: 8.938 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.003644, allocations: 107.5 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003654, allocations: 4.359 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.003664, allocations: 8.375 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.388e-05/0.003728, allocations: 50.17 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003735, allocations: 4.828 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003742, allocations: 4.375 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.003747, allocations: 4.5 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.003771, allocations: 15.98 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.003998, allocations: 185.1 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.004054, allocations: 39.36 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.004072, allocations: 12.86 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.004078, allocations: 0.75 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.305e-05/0.004151, allocations: 80.08 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 9.01e-07/0.004152, allocations: 0 / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 9.735e-05/0.004249, allocations: 62.45 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.004282, allocations: 63.34 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.00433, allocations: 112.8 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004341, allocations: 25.7 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.00437, allocations: 88.14 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.004393, allocations: 19.84 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.004423, allocations: 33.69 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004618/0.004884, allocations: 318.8 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.004896, allocations: 7.406 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.004924, allocations: 43.41 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.004969, allocations: 51.36 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00497, allocations: 0 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.019e-05/0.00504, allocations: 73.55 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.00505, allocations: 4 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005055, allocations: 3.984 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005066, allocations: 7.938 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.005116, allocations: 15 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005118, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.005147, allocations: 4 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.005151, allocations: 4 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.643e-05/0.005208, allocations: 130.5 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.005219, allocations: 19.86 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.005237, allocations: 12.06 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005239, allocations: 5.719 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005241, allocations: 0 / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.005244, allocations: 3.984 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.005413, allocations: 218.7 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.005415, allocations: 6.812 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.005428, allocations: 4 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.00543, allocations: 0 / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005436, allocations: 4 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005438, allocations: 4 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005439, allocations: 0 / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.005524, allocations: 155.9 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.005531, allocations: 3.938 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.005541, allocations: 6.75 kB / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.005576, allocations: 7.984 kB / 0.7644 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.005607, allocations: 7.984 kB / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.005611, allocations: 4.062 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.001e-05/0.005621, allocations: 8.859 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005621, allocations: 0 / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001326/0.005754, allocations: 19.95 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.754e-05/0.005822, allocations: 81.19 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.005899, allocations: 50.28 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.005902, allocations: 4 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.005933, allocations: 20.89 kB / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.006074, allocations: 17.2 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.006327, allocations: 160.4 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.006361, allocations: 63.94 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.006382, allocations: 4.844 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.006434, allocations: 59.36 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.006435, allocations: 0.5625 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of Templates: time 0.002154/0.008588, allocations: 0.8278 MB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.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: 4.849462775979191]