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.0009502/0.0009502, allocations: 80.92 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.001229/0.001229, allocations: 165 kB / 24.17 MB, free: 328 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.01/1.01, allocations: 177.1 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.769/1.769, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.452e-06/1.452e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.721e-05, allocations: 6.75 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002335/0.002352, allocations: 1.527 MB / 0.7615 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.003073, allocations: 477.7 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.003112, allocations: 7.938 kB / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.003142, allocations: 3.984 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.003225, allocations: 8.297 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.003356, allocations: 19.92 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.003441, allocations: 57.41 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.003528, allocations: 11.92 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.003602, allocations: 34.48 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.003668, allocations: 13.61 kB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.003692, allocations: 5.25 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.003702, allocations: 8 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.003725, allocations: 9.75 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.003758, allocations: 24.61 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.664e-05/0.003844, allocations: 27.91 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.003846, allocations: 0.6875 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003847, allocations: 0 / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.00385, allocations: 1.656 kB / 0.7621 GB, free: 4.504 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.0003453/0.004195, allocations: 260.8 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.004227, allocations: 11.97 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.004256, allocations: 4.938 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.004339, allocations: 110.6 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.004352, allocations: 8.375 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.004365, allocations: 5.125 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/0.004441, allocations: 50.22 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.00445, allocations: 0.9375 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.004461, allocations: 8.312 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.004468, allocations: 4.781 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.004497, allocations: 8 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.004762, allocations: 182.3 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.004835, allocations: 46.58 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.004859, allocations: 12.86 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.004866, allocations: 4 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.046e-05/0.004957, allocations: 72.77 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.004958, allocations: 0 / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001265/0.005084, allocations: 65.61 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.005125, allocations: 57.22 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.005186, allocations: 110.6 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.005204, allocations: 33.7 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.005235, allocations: 80.14 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.005261, allocations: 27.83 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.005301, allocations: 36.67 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.00539, allocations: 318.8 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.005408, allocations: 11.94 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.005442, allocations: 35.41 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.005503, allocations: 51.36 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005505, allocations: 0 / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.724e-05/0.005602, allocations: 73.55 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.005617, allocations: 16.45 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005622, allocations: 0 / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.005635, allocations: 0 / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.005703, allocations: 15.94 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005707, allocations: 4 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.005748, allocations: 4 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.005754, allocations: 7.984 kB / 0.7638 GB, free: 2.637 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 7.149e-05/0.005826, allocations: 126.6 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.005838, allocations: 9.188 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.00586, allocations: 8.125 kB / 0.7639 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005862, allocations: 4 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005864, allocations: 0.625 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.005869, allocations: 3.984 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.006093, allocations: 223.8 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.006096, allocations: 4.781 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.006113, allocations: 7.938 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.006115, allocations: 0.6562 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.00612, allocations: 0 / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006121, allocations: 3.219 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006122, allocations: 4 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.006218, allocations: 159.5 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006226, allocations: 7.875 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.006237, allocations: 4 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.006294, allocations: 3.984 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.006326, allocations: 11.98 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.006332, allocations: 4.062 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.263e-05/0.006344, allocations: 12.8 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006344, allocations: 3.125 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002297/0.006574, allocations: 15.95 kB / 0.7644 GB, free: 1.988 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.187e-05/0.006656, allocations: 87.08 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.006739, allocations: 40.78 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006742, allocations: 0 / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.006778, allocations: 20.8 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.006965, allocations: 16.86 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.00724, allocations: 157.3 kB / 0.7647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.007287, allocations: 67.34 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.007312, allocations: 4.656 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.007373, allocations: 61.8 kB / 0.7648 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.007374, allocations: 0 / 0.7648 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of Templates: time 0.002643/0.01002, allocations: 0.8236 MB / 0.7656 GB, free: 0.7031 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 -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.831687014084309]