Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001066/0.001066, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002549, allocations: 440 kB / 10.41 MB, free: 284 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.001027/0.001027, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002332, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9807/0.9807, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09562/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2981/2.677, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.033e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002263/0.002283, allocations: 1.54 MB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000528/0.002811, allocations: 470.7 kB / 0.8208 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.002847, allocations: 0 / 0.8208 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.002872, allocations: 7.922 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.002923, allocations: 7.875 kB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.336e-05/0.003006, allocations: 23.91 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003115, allocations: 51.8 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.003195, allocations: 3.984 kB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.003279, allocations: 47.84 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.003351, allocations: 11.98 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.003377, allocations: 4 kB / 0.821 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.003388, allocations: 4 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.00341, allocations: 11.94 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.003444, allocations: 12 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.003544, allocations: 27.84 kB / 0.821 GB, free: 300 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.003555, allocations: 4 kB / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003556, allocations: 0 / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.003568, allocations: 0 / 0.8211 GB, free: 296 kB / 0.7917 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.0005069/0.004075, allocations: 302.2 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.004111, allocations: 12.03 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.004143, allocations: 4.938 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.004227, allocations: 117.7 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.004237, allocations: 4.359 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.004249, allocations: 4.375 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.355e-05/0.004343, allocations: 71.95 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.00435, allocations: 192 / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.004356, allocations: 4.312 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004362, allocations: 7.938 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.004396, allocations: 41.67 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.004682, allocations: 164.2 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.408e-05/0.004746, allocations: 56.27 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.004771, allocations: 42.69 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.004786, allocations: 0 / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.004904, allocations: 118.8 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.004904, allocations: 4 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.000158/0.005063, allocations: 166.6 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.005126, allocations: 162.2 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.005186, allocations: 118.6 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.005196, allocations: 25.7 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.005228, allocations: 88.12 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005246, allocations: 19.89 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.005277, allocations: 29.69 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.005351, allocations: 318.8 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.005374, allocations: 41.62 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.005405, allocations: 52.28 kB / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.005472, allocations: 105.9 kB / 0.823 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005474, allocations: 4 kB / 0.823 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.666e-05/0.005561, allocations: 133 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.005595, allocations: 33.69 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.0056, allocations: 7.938 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005611, allocations: 0 / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.725e-05/0.005648, allocations: 4 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005653, allocations: 4 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.005687, allocations: 7.984 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005691, allocations: 0 / 0.8232 GB, free: 13.76 MB / 0.8073 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 6.554e-05/0.005757, allocations: 151.6 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.005768, allocations: 11.94 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.005792, allocations: 16.36 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005794, allocations: 0 / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.005796, allocations: 8 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.005801, allocations: 4 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.006012, allocations: 286.1 kB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006014, allocations: 3.938 kB / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-06/0.006018, allocations: 0 / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.006031, allocations: 15.88 kB / 0.8237 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006032, allocations: 4 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.006039, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00604, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00604, allocations: 4 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.006153, allocations: 218.9 kB / 0.8239 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.006169, allocations: 11.88 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.006218, allocations: 8 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.00625, allocations: 7.984 kB / 0.8239 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.006262, allocations: 0 / 0.8239 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.642e-05/0.006278, allocations: 20.83 kB / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006278, allocations: 0 / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001233/0.006402, allocations: 20 kB / 0.824 GB, free: 12.9 MB / 0.8073 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.835e-05/0.00647, allocations: 76.42 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.006608, allocations: 163.6 kB / 0.8242 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.006613, allocations: 4 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.006684, allocations: 118.7 kB / 0.8243 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.006863, allocations: 101.1 kB / 0.8244 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.007255, allocations: 178.5 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.00729, allocations: 67.34 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.007313, allocations: 4 kB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.007384, allocations: 67.34 kB / 0.8247 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.007385, allocations: 4 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of Templates: time 0.002513/0.009898, allocations: 0.996 MB / 0.8257 GB, free: 11.03 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.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: 5.2203678060323]