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.001622/0.001622, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.001629/0.001629, allocations: 158.8 kB / 23.01 MB, free: 4.961 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.563/1.563, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.894/2.894, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002322/0.002322, allocations: 71.89 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002193/1.012, allocations: 1.449 MB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007059/1.013, allocations: 436.3 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/1.013, allocations: 0 / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/1.013, allocations: 3.422 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/1.013, allocations: 18.8 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/1.013, allocations: 10 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/1.014, allocations: 53.66 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.82e-05/1.014, allocations: 5.953 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/1.014, allocations: 28.67 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/1.014, allocations: 16.12 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/1.014, allocations: 5.75 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/1.014, allocations: 2.594 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/1.014, allocations: 10.5 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/1.014, allocations: 16.7 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.823e-05/1.014, allocations: 46.98 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.014, allocations: 3.938 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/1.014, allocations: 0 / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.014, allocations: 4 kB / 1.156 GB, free: 31.93 MB / 1.076 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.0004685/1.014, allocations: 319.8 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/1.014, allocations: 10.94 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/1.014, allocations: 7.016 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/1.015, allocations: 113.1 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.015, allocations: 2.906 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/1.015, allocations: 2.969 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/1.015, allocations: 87.25 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.015, allocations: 4 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/1.015, allocations: 3.938 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.015, allocations: 2.688 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/1.015, allocations: 51.67 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/1.015, allocations: 210.4 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/1.015, allocations: 68.42 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/1.015, allocations: 46.06 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/1.015, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/1.015, allocations: 142.9 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/1.015, allocations: 2.812 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0002439/1.016, allocations: 199.1 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.016, allocations: 79.98 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/1.016, allocations: 112.5 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/1.016, allocations: 25.7 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/1.016, allocations: 94.53 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/1.016, allocations: 14.64 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/1.016, allocations: 26.28 kB / 1.157 GB, free: 30.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/1.016, allocations: 320.8 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/1.016, allocations: 43.53 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/1.016, allocations: 69.14 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/1.016, allocations: 119.4 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.016, allocations: 6.469 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001278/1.016, allocations: 152.5 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.016, allocations: 37.73 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.016, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.016, allocations: 2.875 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/1.016, allocations: 6 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/1.016, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/1.016, allocations: 9.062 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/1.016, allocations: 2.438 kB / 1.158 GB, free: 29.7 MB / 1.076 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 6.398e-05/1.016, allocations: 157 kB / 1.158 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/1.016, allocations: 9.266 kB / 1.158 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/1.016, allocations: 8.438 kB / 1.158 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.016, allocations: 6.547 kB / 1.158 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.016, allocations: 3.938 kB / 1.158 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.016, allocations: 3.375 kB / 1.158 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/1.017, allocations: 374.1 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.017, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/1.017, allocations: 7.062 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.017, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/1.017, allocations: 2.844 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.017, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.017, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/1.017, allocations: 265.9 kB / 1.159 GB, free: 28.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/1.017, allocations: 10.89 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/1.017, allocations: 5.844 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/1.017, allocations: 9.328 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/1.017, allocations: 6.422 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/1.017, allocations: 10.97 kB / 1.159 GB, free: 28.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.498e-05/1.017, allocations: 81.38 kB / 1.159 GB, free: 28.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.017, allocations: 0 / 1.159 GB, free: 28.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002332/1.017, allocations: 20.62 kB / 1.159 GB, free: 28.86 MB / 1.076 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 6.636e-05/1.017, allocations: 101.3 kB / 1.159 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001516/1.017, allocations: 178.6 kB / 1.159 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.017, allocations: 0 / 1.159 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/1.018, allocations: 115.9 kB / 1.16 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/1.018, allocations: 12.69 kB / 1.16 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/1.018, allocations: 186.7 kB / 1.16 GB, free: 28.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/1.018, allocations: 73.59 kB / 1.16 GB, free: 28.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.289e-05/1.018, allocations: 2.812 kB / 1.16 GB, free: 28.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/1.018, allocations: 11.44 kB / 1.16 GB, free: 28.25 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/1.018, allocations: 0 / 1.16 GB, free: 28.25 MB / 1.076 GB Notification: Performance of Templates: time 0.003047/1.021, allocations: 0.9216 MB / 1.161 GB, free: 28.13 MB / 1.076 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 -s ida -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.21331352496054]