Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001411/0.001411, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001382/0.001382, allocations: 185 kB / 24.09 MB, free: 416 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.9242/0.9242, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.7875 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.483e-05, allocations: 4.703 kB / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001782/0.001797, allocations: 1.536 MB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006025/0.0024, allocations: 464.6 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.002433, allocations: 0 / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.002458, allocations: 5.406 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.002529, allocations: 7.938 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.002649, allocations: 31.89 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.002713, allocations: 47.84 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.002794, allocations: 15.12 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.002854, allocations: 35.89 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.002906, allocations: 11.98 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.002923, allocations: 4 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.002931, allocations: 4 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.002949, allocations: 11.92 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.002976, allocations: 15.98 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.545e-05/0.003051, allocations: 35.83 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003053, allocations: 1.031 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003053, allocations: 0 / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003056, allocations: 0 / 0.7897 GB, free: 10.06 MB / 0.7448 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.0003272/0.003384, allocations: 389.1 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.003416, allocations: 9.312 kB / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.003441, allocations: 8.891 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.408e-05/0.003505, allocations: 112.6 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.003515, allocations: 9.281 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003523, allocations: 4.375 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.62e-05/0.003589, allocations: 54.86 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.003595, allocations: 192 / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-06/0.003601, allocations: 0.9688 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003606, allocations: 3.938 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.003629, allocations: 13.36 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.003878, allocations: 280.2 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.003935, allocations: 40.66 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.003953, allocations: 23.77 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.00396, allocations: 4 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.86e-05/0.004039, allocations: 78.52 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00404, allocations: 0 / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001297/0.004169, allocations: 85.84 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.004201, allocations: 59.39 kB / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.004268, allocations: 166.4 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.004283, allocations: 33.69 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.00432, allocations: 128.5 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.00434, allocations: 23.84 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.004373, allocations: 39.28 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.004476, allocations: 496.1 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.004488, allocations: 10.11 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.004519, allocations: 50.72 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.004566, allocations: 62.88 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.004569, allocations: 4 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.926e-05/0.004648, allocations: 93.95 kB / 0.7919 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.004657, allocations: 4 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.004662, allocations: 4.719 kB / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.004671, allocations: 0 / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.00472, allocations: 16.48 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004723, allocations: 1.562 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.004753, allocations: 8 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.004757, allocations: 4 kB / 0.7919 GB, free: 7.57 MB / 0.7448 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.919e-05/0.004826, allocations: 175.1 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.004837, allocations: 15.88 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.004856, allocations: 9.25 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.004858, allocations: 4 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.004859, allocations: 0 / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.004862, allocations: 0.8125 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.00506, allocations: 318 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005061, allocations: 0.5312 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.005072, allocations: 4.844 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005074, allocations: 0 / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.005078, allocations: 2.062 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.005081, allocations: 4 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.005082, allocations: 3.938 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.005228, allocations: 231.8 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.005235, allocations: 3.953 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.005243, allocations: 0 / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.005278, allocations: 16.48 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.005304, allocations: 14.52 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.005308, allocations: 4 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.005337, allocations: 123.2 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005337, allocations: 0 / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001403/0.005478, allocations: 16 kB / 0.7928 GB, free: 6.594 MB / 0.7448 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.291e-05/0.005541, allocations: 99.23 kB / 0.7929 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.005613, allocations: 45.36 kB / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.005614, allocations: 0 / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.005645, allocations: 31.61 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.005811, allocations: 16.45 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.006027, allocations: 157.5 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.006059, allocations: 59.34 kB / 0.7932 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.949e-05/0.006079, allocations: 6.109 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.006136, allocations: 82.19 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.006136, allocations: 0 / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.002103/0.008239, allocations: 0.8938 MB / 0.7941 GB, free: 5.176 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.5732843689620495]