Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.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.0008339/0.0008339, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001876, 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.000754/0.000754, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001682, 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 1.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.136, 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.86/1.86, allocations: 378.2 MB / 0.6076 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4951/2.355, allocations: 123.3 MB / 0.728 GB, free: 5.852 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7293 GB, free: 4.613 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.258e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.609 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002242/0.002264, allocations: 1.535 MB / 0.7308 GB, free: 3.086 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006075/0.002872, allocations: 473.5 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.002906, allocations: 0 / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.002928, allocations: 3.938 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.002979, allocations: 7.5 kB / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.191e-05/0.003061, allocations: 28.61 kB / 0.7313 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.003209, allocations: 51.2 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.003282, allocations: 9.391 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.003369, allocations: 39.41 kB / 0.7314 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.003435, allocations: 19.91 kB / 0.7314 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.003456, allocations: 4 kB / 0.7314 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.003467, allocations: 4.688 kB / 0.7314 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.003488, allocations: 9.656 kB / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.003522, allocations: 12 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.003633, allocations: 27.92 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.542e-05/0.003648, allocations: 0 / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003649, allocations: 0 / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.003665, allocations: 0.9062 kB / 0.7314 GB, free: 2.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004879/0.004153, allocations: 294.8 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.004202, allocations: 13.78 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.004244, allocations: 4.938 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.004342, allocations: 117.7 kB / 0.7319 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004354, allocations: 4.375 kB / 0.7319 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.004362, allocations: 4.375 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.004456, allocations: 76.56 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004463, allocations: 1.094 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.004471, allocations: 4.375 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004477, allocations: 3.938 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.004509, allocations: 34.23 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.004742, allocations: 161.3 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.004838, allocations: 64.2 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.004864, allocations: 43.27 kB / 0.7322 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.004882, allocations: 0 / 0.7322 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.005002, allocations: 123.5 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.005004, allocations: 4.938 kB / 0.7324 GB, free: 1.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001604/0.005164, allocations: 166.6 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.005204, allocations: 77.11 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.005261, allocations: 119.5 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005272, allocations: 25.7 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.0053, allocations: 93.56 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.005314, allocations: 11.89 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.005343, allocations: 29.7 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.00542, allocations: 322.8 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.005444, allocations: 34.36 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.005481, allocations: 64.27 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.469e-05/0.005546, allocations: 111.7 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.005549, allocations: 0 / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.779e-05/0.005637, allocations: 125.8 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.005674, allocations: 33.7 kB / 0.7335 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.005682, allocations: 8.891 kB / 0.7335 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.005693, allocations: 4 kB / 0.7335 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.005735, allocations: 8.812 kB / 0.7335 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005738, allocations: 0 / 0.7335 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.005777, allocations: 7.953 kB / 0.7335 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005782, allocations: 4.656 kB / 0.7335 GB, free: 8 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.878e-05/0.005871, allocations: 151.2 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.005882, allocations: 4.812 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.005909, allocations: 16.38 kB / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.005912, allocations: 4.891 kB / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005914, allocations: 0 / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005917, allocations: 0 / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.006226, allocations: 286.7 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006228, allocations: 0 / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-06/0.006235, allocations: 4.688 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.006245, allocations: 9.047 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006247, allocations: 0 / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.006253, allocations: 7.984 kB / 0.734 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.006255, allocations: 0 / 0.734 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.006258, allocations: 4.969 kB / 0.734 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.006363, allocations: 219.4 kB / 0.7342 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.00638, allocations: 12.48 kB / 0.7342 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.00644, allocations: 5.781 kB / 0.7342 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.006473, allocations: 15.91 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.006486, allocations: 4 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.481e-05/0.006501, allocations: 16.91 kB / 0.7343 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006501, allocations: 0 / 0.7343 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000122/0.006623, allocations: 21.22 kB / 0.7343 GB, free: 15.16 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.86e-05/0.006692, allocations: 80.36 kB / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.006817, allocations: 160.3 kB / 0.7345 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.00682, allocations: 0.5 kB / 0.7345 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.006877, allocations: 114.7 kB / 0.7346 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.007039, allocations: 25.38 kB / 0.7347 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.007417, allocations: 182.1 kB / 0.7348 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.007453, allocations: 63.34 kB / 0.7349 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.007476, allocations: 0.9062 kB / 0.7349 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.007538, allocations: 71.34 kB / 0.735 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/0.007539, allocations: 1.031 kB / 0.735 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.002597/0.01014, allocations: 1.016 MB / 0.736 GB, free: 13.42 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.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.887493749149144]