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.0008017/0.0008017, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001811, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006921/0.0006921, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009513/0.001643, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9783/0.9783, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09328/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.763/1.763, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5025/2.265, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 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 2.164e-06/2.164e-06, allocations: 0 / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.48e-05, allocations: 4.453 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002784/0.002799, allocations: 1.584 MB / 0.7308 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000917/0.003716, allocations: 472.6 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.003758, allocations: 2.438 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.003787, allocations: 3.938 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.003846, allocations: 11.11 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.003949, allocations: 23.91 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.004052, allocations: 52.5 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004159, allocations: 12.75 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.004261, allocations: 35.84 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.004342, allocations: 26.14 kB / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.004368, allocations: 4 kB / 0.7314 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.00438, allocations: 4 kB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.004401, allocations: 6.5 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.004435, allocations: 13.75 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.004545, allocations: 31.86 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.004559, allocations: 0 / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004559, allocations: 0.9375 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.004572, allocations: 0 / 0.7315 GB, free: 2.332 MB / 0.698 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.0004529/0.005025, allocations: 261.4 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.005066, allocations: 17.41 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.005102, allocations: 8.922 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.00521, allocations: 113.7 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.005224, allocations: 8.375 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.005236, allocations: 5.031 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.005329, allocations: 50.17 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005337, allocations: 0.875 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.005345, allocations: 2.094 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.005352, allocations: 7.938 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.005383, allocations: 15.92 kB / 0.732 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.005666, allocations: 180.2 kB / 0.7321 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.805e-05/0.005734, allocations: 43.61 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.005754, allocations: 12.86 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.005763, allocations: 9.906 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.869e-05/0.005852, allocations: 67.31 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.005852, allocations: 0 / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001206/0.005973, allocations: 61.62 kB / 0.7323 GB, free: 1.395 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.006018, allocations: 60.42 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.006071, allocations: 106.7 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.006086, allocations: 33.7 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.00612, allocations: 88.77 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.006141, allocations: 19.86 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.006177, allocations: 30.56 kB / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.006279, allocations: 318.8 kB / 0.733 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.006291, allocations: 8.734 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.00632, allocations: 39.36 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.006371, allocations: 52.09 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.006375, allocations: 1.812 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.492e-05/0.00645, allocations: 81.42 kB / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.006462, allocations: 4 kB / 0.7331 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006468, allocations: 4 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.006476, allocations: 1.156 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.006543, allocations: 19.98 kB / 0.7332 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006547, allocations: 3.984 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.006579, allocations: 12.53 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006585, allocations: 5.062 kB / 0.7332 GB, free: 460 kB / 0.698 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.294e-05/0.006648, allocations: 121.8 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.006657, allocations: 12.67 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.006681, allocations: 8.125 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006683, allocations: 0.5312 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006685, allocations: 0 / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006687, allocations: 1.031 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.00687, allocations: 226.7 kB / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.006873, allocations: 4.969 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.00689, allocations: 11.98 kB / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.006895, allocations: 0 / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006896, allocations: 0.5312 kB / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.006902, allocations: 5.781 kB / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006903, allocations: 0 / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006904, allocations: 0 / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.006997, allocations: 159.4 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-06/0.007005, allocations: 0 / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.00704, allocations: 9.281 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.007071, allocations: 11.98 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.007077, allocations: 3.984 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.138e-05/0.007088, allocations: 13.59 kB / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007088, allocations: 0 / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001184/0.007206, allocations: 20.52 kB / 0.7338 GB, free: 15.8 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 7.208e-05/0.007278, allocations: 83.84 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.326e-05/0.007352, allocations: 38.38 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.00736, allocations: 7.984 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.00739, allocations: 20.8 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.007523, allocations: 21.27 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.007879, allocations: 177.4 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.007912, allocations: 59.34 kB / 0.7342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.007931, allocations: 4 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.007982, allocations: 63.98 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.007982, allocations: 0.7188 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.002102/0.01008, allocations: 0.8541 MB / 0.7351 GB, free: 14.47 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.ref.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.772658225148916]