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.0008291/0.0008291, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.001992, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007072/0.0007072, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009629/0.00167, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9734/0.9734, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09644/1.07, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.757/1.757, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4306/2.188, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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 9.42e-07/9.42e-07, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.158e-06/1.01e-05, allocations: 3.531 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001604/0.001614, allocations: 1.586 MB / 0.7312 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005265/0.002141, allocations: 472.8 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.002162, allocations: 0 / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.002178, allocations: 4.844 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.002213, allocations: 10.11 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.807e-05/0.002271, allocations: 25.28 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.002331, allocations: 56.62 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.00239, allocations: 11.98 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.002452, allocations: 39.25 kB / 0.7318 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.002501, allocations: 14.17 kB / 0.7318 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.002517, allocations: 5 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.002526, allocations: 8 kB / 0.7318 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.002541, allocations: 6.078 kB / 0.7318 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.002564, allocations: 14.84 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.025e-05/0.002634, allocations: 27.28 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.002643, allocations: 3.938 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002644, allocations: 0.5 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.00266, allocations: 0 / 0.7318 GB, free: 2.234 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.0003453/0.003006, allocations: 270 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.501e-05/0.003031, allocations: 8.031 kB / 0.7321 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.003057, allocations: 8.938 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.018e-05/0.003128, allocations: 106.6 kB / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.003138, allocations: 12.3 kB / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.003147, allocations: 5.781 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.683e-05/0.003204, allocations: 50.23 kB / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.00321, allocations: 192 / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.003216, allocations: 384 / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003221, allocations: 4.469 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.003242, allocations: 13.47 kB / 0.7323 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.003438, allocations: 184.1 kB / 0.7325 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.003493, allocations: 46.55 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.00351, allocations: 13.92 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-06/0.003514, allocations: 0 / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/0.003592, allocations: 83.77 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 7.11e-07/0.003593, allocations: 1.594 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 9.772e-05/0.003691, allocations: 65.61 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.003721, allocations: 55.41 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.275e-05/0.003764, allocations: 106.7 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.003775, allocations: 30.36 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.446e-05/0.0038, allocations: 88.12 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.003817, allocations: 25.16 kB / 0.733 GB, free: 0.957 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.003843, allocations: 25.7 kB / 0.733 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.003904, allocations: 322.8 kB / 0.7333 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.003914, allocations: 5.594 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.003939, allocations: 43.34 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.003978, allocations: 51.36 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00398, allocations: 0 / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.41e-05/0.004044, allocations: 79 kB / 0.7335 GB, free: 408 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.004053, allocations: 7.984 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.004056, allocations: 0 / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.004067, allocations: 4.656 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.004113, allocations: 16 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.004118, allocations: 9.109 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.004146, allocations: 4 kB / 0.7335 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.004149, allocations: 0 / 0.7335 GB, free: 368 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 5.193e-05/0.004201, allocations: 128.4 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.004209, allocations: 8.719 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.004229, allocations: 12.12 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004231, allocations: 1.219 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004232, allocations: 0 / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.004236, allocations: 3.984 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.004411, allocations: 227.3 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.004414, allocations: 3.938 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.004426, allocations: 5.531 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.004433, allocations: 4.062 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.004437, allocations: 4 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.004441, allocations: 0 / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.004442, allocations: 0.75 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.004444, allocations: 4 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.793e-05/0.004512, allocations: 165.3 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-06/0.004519, allocations: 0 / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.004557, allocations: 7.984 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.00458, allocations: 7.984 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.004584, allocations: 4 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.003e-05/0.004594, allocations: 10.2 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004594, allocations: 0 / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001175/0.004712, allocations: 15.95 kB / 0.7341 GB, free: 15.71 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 5.794e-05/0.00477, allocations: 89.59 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.004831, allocations: 40.67 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.004836, allocations: 5.25 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.004866, allocations: 32.72 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.004998, allocations: 68.22 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.005299, allocations: 177.2 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.005327, allocations: 59.88 kB / 0.7345 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.005346, allocations: 5.578 kB / 0.7345 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.00539, allocations: 55.38 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.005391, allocations: 0 / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.001888/0.007279, allocations: 0.8636 MB / 0.7354 GB, free: 14.3 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.581896295771003]