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.0007368/0.0007368, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001882, 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.0007275/0.0007275, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.001685, 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.9293/0.9293, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09565/1.025, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.924/1.924, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4643/2.388, allocations: 123.3 MB / 0.7283 GB, free: 5.699 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.203e-06/1.203e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.182e-05, allocations: 4.188 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001836/0.001847, allocations: 1.537 MB / 0.7311 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005357/0.002383, allocations: 469.9 kB / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.002415, allocations: 0 / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.002434, allocations: 6.5 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.002478, allocations: 3.5 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.252e-05/0.002551, allocations: 31.83 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.002649, allocations: 50.81 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.002703, allocations: 8.875 kB / 0.7317 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.002784, allocations: 38.91 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.002847, allocations: 15 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.002867, allocations: 4 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.002878, allocations: 5.406 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.002899, allocations: 10.23 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.002928, allocations: 9.312 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.301e-05/0.003021, allocations: 30.66 kB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.003036, allocations: 1.719 kB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003037, allocations: 0 / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.003051, allocations: 0 / 0.7318 GB, free: 2.27 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.0004773/0.003528, allocations: 299 kB / 0.732 GB, free: 1.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.003559, allocations: 12.53 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.003592, allocations: 8.922 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.003673, allocations: 114.9 kB / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.003683, allocations: 384 / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.003695, allocations: 4.375 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.00382, allocations: 76.47 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003828, allocations: 4.719 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.003835, allocations: 384 / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.00384, allocations: 4.875 kB / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.003871, allocations: 37.69 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.004105, allocations: 160.8 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.004182, allocations: 48.97 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.004207, allocations: 46.67 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.004223, allocations: 8.562 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.004336, allocations: 123.9 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.004337, allocations: 0 / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001505/0.004487, allocations: 158.7 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.004548, allocations: 171.2 kB / 0.733 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.004609, allocations: 114.6 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.004621, allocations: 29.7 kB / 0.7331 GB, free: 0.668 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.004651, allocations: 89.25 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.004668, allocations: 11.91 kB / 0.7332 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.004699, allocations: 29.69 kB / 0.7332 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.004774, allocations: 319.8 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.004796, allocations: 37.7 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.004828, allocations: 62.17 kB / 0.7336 GB, free: 96 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.004902, allocations: 109.9 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004904, allocations: 3.938 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.558e-05/0.004989, allocations: 133.9 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.00502, allocations: 31.86 kB / 0.7339 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.005025, allocations: 3.938 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.005041, allocations: 7.984 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.005078, allocations: 9.688 kB / 0.7339 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.005098, allocations: 3.984 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.00513, allocations: 7.953 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.005136, allocations: 4 kB / 0.734 GB, free: 15.74 MB / 0.7136 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 7.495e-05/0.005211, allocations: 144.7 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.005224, allocations: 11.98 kB / 0.7341 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.005245, allocations: 12.38 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005247, allocations: 0.6562 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.005249, allocations: 0 / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.005253, allocations: 1.25 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.005462, allocations: 294.1 kB / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.005465, allocations: 4 kB / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-06/0.005469, allocations: 1.219 kB / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.005477, allocations: 7.891 kB / 0.7344 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005479, allocations: 4 kB / 0.7344 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.005485, allocations: 5.25 kB / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.005486, allocations: 0 / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005487, allocations: 0 / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.005591, allocations: 227.3 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.005607, allocations: 8.969 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.005657, allocations: 11.98 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.005687, allocations: 4.516 kB / 0.7347 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.005699, allocations: 5.562 kB / 0.7347 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.364e-05/0.005713, allocations: 12.92 kB / 0.7347 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005713, allocations: 0 / 0.7347 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000123/0.005836, allocations: 20 kB / 0.7347 GB, free: 14.9 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 7.401e-05/0.00591, allocations: 85.56 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.006042, allocations: 160.1 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.006045, allocations: 4 kB / 0.7349 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.006104, allocations: 114.7 kB / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.006273, allocations: 101.8 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.006652, allocations: 186.9 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.006688, allocations: 63.34 kB / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.006709, allocations: 9.312 kB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.006771, allocations: 63.36 kB / 0.7354 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.006772, allocations: 0 / 0.7354 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.00257/0.009342, allocations: 1.002 MB / 0.7364 GB, free: 13.06 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975031510926783]