Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001252/0.001252, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.00123/0.00123, allocations: 161 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 1.072/1.072, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.987/1.987, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0.875 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.754e-05, allocations: 5.906 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002259/0.002286, allocations: 1.589 MB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.002988, allocations: 473.7 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.003029, allocations: 0 / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.003059, allocations: 7.922 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.435e-05/0.003143, allocations: 11.95 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.003274, allocations: 19.91 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.003351, allocations: 52.17 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.003445, allocations: 22.61 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.003511, allocations: 26.5 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.003579, allocations: 17.72 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003597, allocations: 4 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.003606, allocations: 7.938 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.003625, allocations: 16.67 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.003651, allocations: 11.98 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.632e-05/0.003737, allocations: 36.58 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003739, allocations: 0 / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00374, allocations: 0.75 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003744, allocations: 0 / 0.7623 GB, free: 4.363 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.0003484/0.004093, allocations: 262.5 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.004126, allocations: 12.03 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.004155, allocations: 4.938 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.004248, allocations: 109.8 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004258, allocations: 0.875 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.00427, allocations: 13.5 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/0.004355, allocations: 54.22 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004362, allocations: 192 / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.004369, allocations: 0.9062 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.004375, allocations: 3.938 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.004403, allocations: 20.7 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.004673, allocations: 180.6 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/0.004737, allocations: 35.5 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.004757, allocations: 20.84 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.004763, allocations: 1.688 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.987e-05/0.004853, allocations: 75.28 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.004854, allocations: 0 / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001103/0.004964, allocations: 69.61 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.004999, allocations: 58.16 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.00505, allocations: 110.6 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005062, allocations: 25.7 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.005092, allocations: 88.14 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.005114, allocations: 23.83 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.005144, allocations: 25.7 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.005227, allocations: 326.8 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.00524, allocations: 9.969 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.005274, allocations: 35.42 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.005323, allocations: 51.34 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005325, allocations: 0 / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.207e-05/0.005408, allocations: 82.41 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.00542, allocations: 6.344 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005425, allocations: 0.7188 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.005438, allocations: 4 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.005496, allocations: 12.5 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.005499, allocations: 0 / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.005533, allocations: 10.95 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.005539, allocations: 8 kB / 0.7639 GB, free: 2.496 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 6.477e-05/0.005604, allocations: 122 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.005616, allocations: 11.92 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.005637, allocations: 8.125 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00564, allocations: 4 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.005644, allocations: 3.984 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005647, allocations: 2.438 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.005844, allocations: 222.7 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.005846, allocations: 7.875 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.005864, allocations: 8 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.005866, allocations: 0 / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.005871, allocations: 0 / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005872, allocations: 5.438 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005873, allocations: 0 / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.855e-05/0.005952, allocations: 151.9 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.00596, allocations: 4 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.005971, allocations: 13.02 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.006008, allocations: 4 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.006039, allocations: 9.141 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.006044, allocations: 0 / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.101e-05/0.006055, allocations: 8.859 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006055, allocations: 3.156 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001517/0.006207, allocations: 19.95 kB / 0.7645 GB, free: 1.855 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 8.236e-05/0.006289, allocations: 84.34 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.006374, allocations: 52.77 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006376, allocations: 0 / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.006408, allocations: 24.89 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.006554, allocations: 19.64 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.006775, allocations: 148.3 kB / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.006807, allocations: 59.36 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.00683, allocations: 3.984 kB / 0.7649 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.00688, allocations: 59.38 kB / 0.7649 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.00688, allocations: 0 / 0.7649 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of Templates: time 0.002421/0.009302, allocations: 0.8342 MB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2515]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1558147561736405]