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.00131/0.00131, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001479/0.001479, allocations: 209.3 kB / 23 MB, free: 4.977 MB / 14.72 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.45 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3531, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002932/0.356, allocations: 1.446 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.357, allocations: 443 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.357, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.357, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.145e-05/0.3571, allocations: 15.92 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.3573, allocations: 19.92 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3574, allocations: 47.86 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.3575, allocations: 11.95 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.3576, allocations: 23.88 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.3577, allocations: 19.92 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.3577, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.3577, allocations: 8 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3577, allocations: 11.92 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.3578, allocations: 15.94 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3579, allocations: 43.81 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3579, allocations: 7.875 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3579, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3579, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 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.0006351/0.3586, allocations: 323.8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3586, allocations: 8.031 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3587, allocations: 8.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3588, allocations: 114.5 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3588, allocations: 8.312 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3588, allocations: 4.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.359, allocations: 83.69 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.359, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.359, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.359, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.3591, allocations: 45.69 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.3595, allocations: 204.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3596, allocations: 76.14 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.3596, allocations: 46.69 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3596, allocations: 7.984 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.3599, allocations: 126.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3599, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003452/0.3602, allocations: 206.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3603, allocations: 77.11 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3604, allocations: 109.8 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3604, allocations: 29.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.3604, allocations: 88.09 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3605, allocations: 27.91 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.3605, allocations: 29.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3607, allocations: 310.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.3608, allocations: 49.69 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.3609, allocations: 68.48 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.361, allocations: 110 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.361, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002054/0.3612, allocations: 157 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.3612, allocations: 45.64 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3612, allocations: 3.984 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3612, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.3613, allocations: 11.94 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3613, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.3614, allocations: 8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3614, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 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 0.0001309/0.3615, allocations: 153.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.3615, allocations: 7.953 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.3615, allocations: 12.38 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3615, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3615, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.3616, allocations: 3.984 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3616, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.3617, allocations: 11.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3617, allocations: 7.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003219/0.362, allocations: 299.7 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003042/0.3623, allocations: 338.1 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.482e-05/0.3624, allocations: 53.69 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.3625, allocations: 83.28 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of Backend: time 3.71e-07/0.3625, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.3629, allocations: 199.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006588/0.3635, allocations: 0.6402 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of Templates: time 0.003991/0.3675, allocations: 1.092 MB / 1.334 GB, free: 9.234 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.049318175006192]