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: 111.7 kB / 17.13 MB, free: 5.926 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.002013/0.002013, allocations: 204 kB / 20.09 MB, free: 2.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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.937/2.937, allocations: 0.49 GB / 0.7923 GB, free: 1.449 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.00208/0.00208, allocations: 71.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002428/1.095, allocations: 1.441 MB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007245/1.095, allocations: 478.9 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/1.095, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/1.096, allocations: 6.75 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/1.096, allocations: 11.31 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/1.096, allocations: 22.16 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/1.096, allocations: 55.3 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/1.096, allocations: 6.75 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/1.096, allocations: 16.64 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/1.096, allocations: 23.48 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/1.096, allocations: 4.375 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/1.096, allocations: 5.344 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/1.096, allocations: 11.92 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/1.096, allocations: 20.78 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/1.096, allocations: 39.77 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.096, allocations: 0 / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/1.096, allocations: 0 / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.731e-06/1.096, allocations: 4 kB / 1.324 GB, free: 23.59 MB / 1.061 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.000551/1.097, allocations: 398.7 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/1.097, allocations: 15.02 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/1.097, allocations: 3.781 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.097, allocations: 174.4 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.097, allocations: 2.844 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/1.097, allocations: 2.938 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/1.097, allocations: 60.78 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.097, allocations: 0 / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.097, allocations: 3.328 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.097, allocations: 6.625 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/1.097, allocations: 11.94 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/1.098, allocations: 278.5 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/1.098, allocations: 33.83 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/1.098, allocations: 28.8 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/1.098, allocations: 3.938 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/1.098, allocations: 108.5 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/1.098, allocations: 3.984 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002564/1.098, allocations: 141.4 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.098, allocations: 77.11 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/1.098, allocations: 123.9 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/1.098, allocations: 25.7 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/1.098, allocations: 87.2 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/1.098, allocations: 14.88 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/1.098, allocations: 26.05 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/1.098, allocations: 322.1 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/1.098, allocations: 14.66 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/1.098, allocations: 35.58 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/1.099, allocations: 118.7 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.099, allocations: 0 / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000123/1.099, allocations: 123.7 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.099, allocations: 35.16 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.099, allocations: 2.875 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.099, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.259e-05/1.099, allocations: 7 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.099, allocations: 6.969 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/1.099, allocations: 10.28 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/1.099, allocations: 2.938 kB / 1.326 GB, free: 21.44 MB / 1.061 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.412e-05/1.099, allocations: 150.5 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/1.099, allocations: 10.44 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/1.099, allocations: 11.16 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.099, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.099, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.099, allocations: 7.938 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.099, allocations: 409.5 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.099, allocations: 0 / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-06/1.099, allocations: 3.422 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.099, allocations: 0 / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/1.099, allocations: 2.625 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.099, allocations: 0 / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.099, allocations: 0 / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/1.099, allocations: 239.8 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/1.099, allocations: 87.14 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/1.099, allocations: 3 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/1.1, allocations: 8.953 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/1.1, allocations: 14.28 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/1.1, allocations: 3.125 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.934e-05/1.1, allocations: 84.84 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.1, allocations: 0 / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002289/1.1, allocations: 17.62 kB / 1.327 GB, free: 20.5 MB / 1.061 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 9.363e-05/1.1, allocations: 115.1 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001603/1.1, allocations: 105.8 kB / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.1, allocations: 0 / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/1.1, allocations: 85.61 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/1.101, allocations: 11.5 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/1.101, allocations: 177.2 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/1.101, allocations: 0.687 MB / 1.328 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/1.101, allocations: 14.22 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.101, allocations: 0 / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of Templates: time 0.002688/1.104, allocations: 0.9076 MB / 1.329 GB, free: 19.3 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.544395870994776]