Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001465/0.001465, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001504/0.001504, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9686/0.9686, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.326/2.326, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.506e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001735/0.00175, allocations: 1.539 MB / 0.8912 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005715/0.002321, allocations: 466.8 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.00236, allocations: 0 / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.002386, allocations: 3.938 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.002464, allocations: 7.922 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.002597, allocations: 27.84 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.002663, allocations: 51.84 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.002745, allocations: 11.94 kB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.002813, allocations: 35.95 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.002886, allocations: 15.92 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.002909, allocations: 4 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.00292, allocations: 4 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.002945, allocations: 11.97 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.002978, allocations: 19.92 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.003083, allocations: 27.95 kB / 0.8919 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003086, allocations: 0 / 0.8919 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.4e-07/0.003086, allocations: 0 / 0.8919 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003091, allocations: 0 / 0.8919 GB, free: 7.59 MB / 0.8542 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.000401/0.003492, allocations: 392.5 kB / 0.8922 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.003541, allocations: 12.61 kB / 0.8922 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.003568, allocations: 8.875 kB / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.003649, allocations: 120.5 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003663, allocations: 8.375 kB / 0.8924 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.003672, allocations: 4.375 kB / 0.8924 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.414e-05/0.003747, allocations: 46.23 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003753, allocations: 4.188 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.003761, allocations: 384 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.003769, allocations: 3.938 kB / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.003796, allocations: 15.92 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.004096, allocations: 272.3 kB / 0.8927 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.004153, allocations: 51.14 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.004173, allocations: 15.72 kB / 0.8928 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.004181, allocations: 4 kB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/0.004269, allocations: 76.91 kB / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.00427, allocations: 0 / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.000166/0.004436, allocations: 85.61 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.004473, allocations: 55.41 kB / 0.893 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.00456, allocations: 181.8 kB / 0.8932 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.004578, allocations: 29.7 kB / 0.8932 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.00464, allocations: 130.9 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.004673, allocations: 19.84 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.004722, allocations: 35.34 kB / 0.8934 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.004877, allocations: 0.4884 MB / 0.8938 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.004893, allocations: 7.984 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.004927, allocations: 46.73 kB / 0.8939 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.004983, allocations: 70.66 kB / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004985, allocations: 0 / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.924e-05/0.005074, allocations: 89.52 kB / 0.894 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.005087, allocations: 7.938 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005092, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005102, allocations: 4 kB / 0.8941 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.005159, allocations: 23.92 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005164, allocations: 0 / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.005194, allocations: 4 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.005535, allocations: 4 kB / 0.8941 GB, free: 5.078 MB / 0.8542 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 8.134e-05/0.005616, allocations: 168.5 kB / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.005626, allocations: 11.97 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.005655, allocations: 8.125 kB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.005659, allocations: 4 kB / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.005662, allocations: 0 / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.005666, allocations: 0 / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.006252, allocations: 326.2 kB / 0.8946 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006254, allocations: 0 / 0.8946 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.006266, allocations: 4 kB / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006268, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.006272, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.006276, allocations: 4 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006277, allocations: 4 kB / 0.8946 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.006618, allocations: 235.8 kB / 0.8948 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.006625, allocations: 8 kB / 0.8948 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006636, allocations: 3.984 kB / 0.8948 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.369e-05/0.00667, allocations: 8 kB / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.006706, allocations: 8.328 kB / 0.8948 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.006711, allocations: 4 kB / 0.8948 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.006756, allocations: 127.2 kB / 0.895 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006756, allocations: 0 / 0.895 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001456/0.006902, allocations: 19.98 kB / 0.895 GB, free: 4.086 MB / 0.8542 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.224e-05/0.006984, allocations: 95.25 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.007074, allocations: 55.53 kB / 0.8951 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.007076, allocations: 0 / 0.8951 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.007109, allocations: 19.69 kB / 0.8951 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.007307, allocations: 19.92 kB / 0.8952 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.007584, allocations: 154.1 kB / 0.8953 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.007624, allocations: 62.84 kB / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.007646, allocations: 15.98 kB / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.00771, allocations: 74.2 kB / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.007711, allocations: 0 / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of Templates: time 0.00227/0.009981, allocations: 0.9024 MB / 0.8963 GB, free: 2.648 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.12855766620487]