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.0009596/0.0009596, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001091/0.001091, allocations: 166.2 kB / 24.87 MB, free: 8.891 MB / 18.57 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 0.9448/0.9448, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.741e-05, allocations: 4.625 kB / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001835/0.001852, allocations: 1.475 MB / 0.8142 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.00247, allocations: 469.2 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.002506, allocations: 0 / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.002531, allocations: 5.406 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.002617, allocations: 3.938 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.00275, allocations: 27.84 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.002849, allocations: 47.84 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.331e-05/0.002922, allocations: 5.5 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.002994, allocations: 35.91 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.003052, allocations: 15.91 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.003071, allocations: 5.594 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.00308, allocations: 4 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.003101, allocations: 4 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.003131, allocations: 19.92 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.003227, allocations: 31.89 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003229, allocations: 5 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00323, allocations: 0 / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003233, allocations: 0.5312 kB / 0.8148 GB, free: 15.34 MB / 0.7761 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.0004035/0.003636, allocations: 419.8 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.003667, allocations: 12.03 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.003695, allocations: 8.891 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.003772, allocations: 113.2 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.003782, allocations: 4.312 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.00379, allocations: 4.906 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.997e-05/0.003869, allocations: 81.31 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003876, allocations: 192 / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003883, allocations: 384 / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003887, allocations: 7.875 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.00392, allocations: 38.84 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.004158, allocations: 244.4 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.004214, allocations: 65.67 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.004239, allocations: 45.52 kB / 0.8158 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.004251, allocations: 0.9062 kB / 0.8158 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.004365, allocations: 136.4 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 9.91e-07/0.004366, allocations: 0 / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0004692/0.004835, allocations: 187.6 kB / 0.8161 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.004873, allocations: 85.09 kB / 0.8162 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.004946, allocations: 178.8 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.004958, allocations: 29.7 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.005, allocations: 126.9 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.005019, allocations: 28.62 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.005049, allocations: 27.36 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.005173, allocations: 0.4896 MB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.005197, allocations: 41.69 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.005245, allocations: 68.73 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.63e-05/0.005321, allocations: 111.2 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005323, allocations: 0.9062 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001075/0.00543, allocations: 142.5 kB / 0.8174 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.005455, allocations: 33.64 kB / 0.8174 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.00546, allocations: 7.984 kB / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.005468, allocations: 0 / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.254e-05/0.0055, allocations: 5.219 kB / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.005503, allocations: 3.938 kB / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.005539, allocations: 11.95 kB / 0.8175 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.005545, allocations: 7.125 kB / 0.8175 GB, free: 12.3 MB / 0.7761 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.51e-05/0.00562, allocations: 198.2 kB / 0.8177 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.005633, allocations: 8 kB / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.005653, allocations: 12.38 kB / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.005654, allocations: 0 / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005656, allocations: 0 / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.005659, allocations: 0 / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.005917, allocations: 397.4 kB / 0.8181 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005918, allocations: 0.5 kB / 0.8181 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.005921, allocations: 1.938 kB / 0.8181 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005923, allocations: 3.938 kB / 0.8181 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.00593, allocations: 4 kB / 0.8181 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005931, allocations: 0 / 0.8181 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005931, allocations: 0 / 0.8181 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006066, allocations: 307.3 kB / 0.8184 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.006078, allocations: 16.52 kB / 0.8184 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.006092, allocations: 6.5 kB / 0.8184 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.006139, allocations: 4 kB / 0.8184 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.006172, allocations: 11.98 kB / 0.8184 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.006182, allocations: 0 / 0.8184 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.006218, allocations: 135.2 kB / 0.8185 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006218, allocations: 0 / 0.8185 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001432/0.006361, allocations: 12 kB / 0.8185 GB, free: 11.12 MB / 0.7761 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.918e-05/0.00643, allocations: 108.5 kB / 0.8187 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.006558, allocations: 162.4 kB / 0.8188 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.006559, allocations: 0 / 0.8188 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.006613, allocations: 112.8 kB / 0.8189 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.006796, allocations: 13.05 kB / 0.8189 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.007037, allocations: 184.7 kB / 0.8191 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.007071, allocations: 56.45 kB / 0.8192 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.007093, allocations: 4 kB / 0.8192 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.007161, allocations: 90.19 kB / 0.8192 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.007161, allocations: 1.062 kB / 0.8192 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.002531/0.009693, allocations: 1.051 MB / 0.8203 GB, free: 9.281 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9440006939694285]