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.001953/0.001953, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002372/0.002372, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.805 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.378/3.378, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.002174/0.002174, allocations: 67.22 kB / 1.153 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4123, allocations: 176.1 MB / 1.325 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002962/0.4153, allocations: 1.442 MB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00098/0.4163, allocations: 446.9 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.4163, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.4163, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4165, allocations: 11.98 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.4166, allocations: 15.98 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4168, allocations: 59.66 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4169, allocations: 4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.417, allocations: 27.86 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.417, allocations: 15.92 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.4171, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.4171, allocations: 7.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.4171, allocations: 11.98 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.4172, allocations: 15.88 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.4173, allocations: 47.81 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4173, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4173, allocations: 7.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.4173, allocations: 0 / 1.328 GB, free: 15.77 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.0006899/0.418, allocations: 319.9 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4181, allocations: 12.03 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.4181, allocations: 4.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.4182, allocations: 114.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4183, allocations: 384 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.4183, allocations: 8.375 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4184, allocations: 79.7 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4185, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4185, allocations: 3.984 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4185, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.4186, allocations: 57.62 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.419, allocations: 208.6 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4191, allocations: 68.2 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.4192, allocations: 42.69 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4192, allocations: 0 / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.4194, allocations: 138.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.4194, allocations: 3.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003672/0.4198, allocations: 194.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4198, allocations: 85.05 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.42, allocations: 113.9 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.42, allocations: 29.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.42, allocations: 96.06 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.4201, allocations: 15.84 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.4201, allocations: 29.72 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4203, allocations: 319.1 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.4203, allocations: 45.69 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.4204, allocations: 68.2 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4206, allocations: 113.9 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4206, allocations: 3.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002101/0.4208, allocations: 161.4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.4208, allocations: 31.58 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4208, allocations: 7.984 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4209, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.4209, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4209, allocations: 3.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.421, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.421, allocations: 4 kB / 1.33 GB, free: 13.13 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.0001474/0.4211, allocations: 166.6 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.4211, allocations: 7.953 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.4212, allocations: 4.375 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4212, allocations: 4 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4212, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4212, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.4216, allocations: 373.5 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4216, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/0.4217, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4217, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.4217, allocations: 8 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4217, allocations: 7.938 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4217, allocations: 4.062 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.422, allocations: 266.8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.422, allocations: 7.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.422, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4221, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4221, allocations: 11.98 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4222, allocations: 4.094 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.977e-05/0.4223, allocations: 95.19 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4223, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002384/0.4225, allocations: 20 kB / 1.331 GB, free: 12.07 MB / 1.029 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 0.0001153/0.4226, allocations: 99.19 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.4228, allocations: 170.7 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4228, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.423, allocations: 113 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4233, allocations: 19.97 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.4237, allocations: 175.3 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.4237, allocations: 75.45 kB / 1.331 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.4238, allocations: 4 kB / 1.331 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.4238, allocations: 7.438 kB / 1.331 GB, free: 11.32 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4238, allocations: 0 / 1.331 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Templates: time 0.003627/0.4274, allocations: 0.9427 MB / 1.332 GB, free: 10.39 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/jenkins/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.476496467366815]