Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.0009841/0.0009841, allocations: 77.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002327, allocations: 453.8 kB / 10.45 MB, free: 248 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.0009973/0.0009973, allocations: 161.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002437, 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.9755/0.9755, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0982/1.074, allocations: 53.66 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.941/1.941, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4783/2.419, allocations: 123.3 MB / 0.7283 GB, free: 5.754 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.976e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002216/0.002236, allocations: 1.904 MB / 0.7315 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.003034, allocations: 0.5799 MB / 0.7321 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.003113, allocations: 7.938 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.907e-05/0.003192, allocations: 29.36 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.003252, allocations: 30.05 kB / 0.7322 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.003385, allocations: 68.3 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.00356, allocations: 173.2 kB / 0.7324 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003665, allocations: 35.62 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.003785, allocations: 87.8 kB / 0.7325 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.003848, allocations: 43.81 kB / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.003872, allocations: 8.781 kB / 0.7326 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.003888, allocations: 12 kB / 0.7326 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.003913, allocations: 16.56 kB / 0.7326 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.003949, allocations: 35.88 kB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.004079, allocations: 92.45 kB / 0.7327 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.004089, allocations: 0 / 0.7327 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00409, allocations: 0.8125 kB / 0.7327 GB, free: 1.348 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.0041, allocations: 0 / 0.7327 GB, free: 1.348 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004791/0.004579, allocations: 397.1 kB / 0.7331 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.00461, allocations: 11.97 kB / 0.7331 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.00465, allocations: 21.45 kB / 0.7331 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.004824, allocations: 178.7 kB / 0.7333 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.004834, allocations: 9.656 kB / 0.7333 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.004858, allocations: 16.33 kB / 0.7333 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.005144, allocations: 131.8 kB / 0.7334 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.005152, allocations: 8.609 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005162, allocations: 4.375 kB / 0.7335 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.005169, allocations: 9.688 kB / 0.7335 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.412e-05/0.005214, allocations: 33.98 kB / 0.7335 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.005687, allocations: 0.5608 MB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/0.005741, allocations: 26.56 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.00576, allocations: 12.86 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.005778, allocations: 4.656 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.005887, allocations: 112.3 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.005888, allocations: 0 / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001432/0.006031, allocations: 90.94 kB / 0.7343 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.006088, allocations: 132.5 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.006185, allocations: 185.2 kB / 0.7346 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.006197, allocations: 26.3 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.00625, allocations: 127.8 kB / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.006275, allocations: 41.02 kB / 0.7348 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.006317, allocations: 41.69 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.006389, allocations: 326.8 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.006412, allocations: 11.98 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.006473, allocations: 123.9 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.006582, allocations: 163.6 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.006585, allocations: 4.469 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000126/0.006711, allocations: 132.7 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006724, allocations: 12.62 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.006731, allocations: 4 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006743, allocations: 4.75 kB / 0.7356 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.006826, allocations: 43.91 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.006831, allocations: 4.75 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.006892, allocations: 26 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.0069, allocations: 8 kB / 0.7356 GB, free: 14.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.54e-05/0.006976, allocations: 136.3 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.006993, allocations: 11.98 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.007026, allocations: 25.41 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007028, allocations: 1.344 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.00703, allocations: 0 / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007033, allocations: 4 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.007339, allocations: 347.5 kB / 0.7361 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.007341, allocations: 0 / 0.7361 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.007418, allocations: 19.92 kB / 0.7362 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.007435, allocations: 19.91 kB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.007438, allocations: 3.25 kB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.00745, allocations: 4 kB / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007453, allocations: 0 / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007454, allocations: 320 / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.007645, allocations: 284.3 kB / 0.7365 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.007661, allocations: 8 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.007733, allocations: 11.98 kB / 0.7365 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.007772, allocations: 7.984 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.00778, allocations: 11.02 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.007821, allocations: 53.72 kB / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007821, allocations: 0 / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001973/0.008018, allocations: 31.94 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001131/0.008131, allocations: 84.36 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.008257, allocations: 80.17 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.008264, allocations: 6.531 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.943e-05/0.008323, allocations: 36.72 kB / 0.7368 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.008753, allocations: 403.9 kB / 0.7372 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.009376, allocations: 330.4 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.112e-05/0.009427, allocations: 79.92 kB / 0.7375 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.009483, allocations: 13.48 kB / 0.7376 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.009583, allocations: 87.34 kB / 0.7376 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.009584, allocations: 1.25 kB / 0.7376 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.003857/0.01344, allocations: 2.209 MB / 0.7398 GB, free: 9.742 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.945235627703369]