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.001317/0.001317, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001692/0.001692, allocations: 220.8 kB / 23 MB, free: 4.914 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.342/3.342, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.00239/0.00239, allocations: 78.42 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3986, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003378/0.402, allocations: 1.446 MB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.403, allocations: 440 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.4031, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.4031, allocations: 7.938 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.4032, allocations: 19.84 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.4034, allocations: 15.98 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4036, allocations: 47.86 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4037, allocations: 4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.4038, allocations: 27.86 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.4039, allocations: 15.92 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.4039, allocations: 4 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.4039, allocations: 4 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.4039, allocations: 15.91 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.404, allocations: 19.94 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.4041, allocations: 43.83 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4041, allocations: 0 / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4041, allocations: 0 / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4041, allocations: 0 / 1.367 GB, free: 11.51 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.0007222/0.4049, allocations: 327.8 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4049, allocations: 11.97 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.405, allocations: 12.83 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4051, allocations: 106.5 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4051, allocations: 8.375 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.4051, allocations: 4.375 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4053, allocations: 83.69 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4053, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4053, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4054, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.4054, allocations: 45.69 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.4059, allocations: 212.5 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.406, allocations: 68.2 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.406, allocations: 42.69 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.4061, allocations: 8 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.4063, allocations: 134.7 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.4063, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003636/0.4067, allocations: 198.8 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4068, allocations: 81.09 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4069, allocations: 121.8 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.4069, allocations: 25.7 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.407, allocations: 88.14 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.407, allocations: 19.8 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.407, allocations: 29.7 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4072, allocations: 318.8 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.4073, allocations: 45.69 kB / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.4073, allocations: 64.27 kB / 1.369 GB, free: 9.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4075, allocations: 117.9 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4075, allocations: 3.938 kB / 1.369 GB, free: 9.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002073/0.4077, allocations: 153 kB / 1.369 GB, free: 8.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.4077, allocations: 35.42 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4077, allocations: 384 / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4078, allocations: 4.062 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.16e-05/0.4078, allocations: 11.92 kB / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4078, allocations: 0 / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.4079, allocations: 15.89 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4079, allocations: 0 / 1.369 GB, free: 8.855 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 0.0001405/0.408, allocations: 160.5 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.4081, allocations: 4 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.4081, allocations: 8.375 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4081, allocations: 3.984 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4081, allocations: 0 / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4081, allocations: 4 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.4085, allocations: 373.5 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4085, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.4086, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.4086, allocations: 4 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4086, allocations: 3.984 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4086, allocations: 4.062 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4086, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4089, allocations: 270.8 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.4089, allocations: 3.953 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.4089, allocations: 4 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.409, allocations: 11.98 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.4091, allocations: 11.98 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4091, allocations: 4 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.86e-05/0.4091, allocations: 83.28 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4091, allocations: 0 / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002436/0.4094, allocations: 16 kB / 1.37 GB, free: 7.809 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 0.0001228/0.4095, allocations: 103.2 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.4098, allocations: 174.8 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4098, allocations: 0 / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.4099, allocations: 113 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.4102, allocations: 15.88 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.4106, allocations: 209 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.224e-05/0.4107, allocations: 67.34 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.4107, allocations: 15.38 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/0.4107, allocations: 0 / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of Templates: time 0.003063/0.4138, allocations: 0.923 MB / 1.371 GB, free: 6.098 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.464620662853122]