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.001005/0.001005, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001007/0.001007, allocations: 161 kB / 23.82 MB, free: 0.75 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.9233/0.9233, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.772/1.772, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 2.645e-06/2.645e-06, allocations: 4 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.236e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001924/0.001947, allocations: 1.485 MB / 0.8129 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.002642, allocations: 460.6 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.00268, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.002711, allocations: 13.55 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.002793, allocations: 7.938 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.00295, allocations: 19.91 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003061, allocations: 55.78 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.003151, allocations: 5.531 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.003238, allocations: 35.86 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.003303, allocations: 15.95 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.003323, allocations: 4 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.003333, allocations: 8.562 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.003356, allocations: 4.906 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.003397, allocations: 15.98 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003501, allocations: 35.89 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003504, allocations: 1.594 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003505, allocations: 0 / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.003508, allocations: 0 / 0.8136 GB, free: 15.64 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.0004817/0.00399, allocations: 412.8 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.004027, allocations: 12.03 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.00408, allocations: 12.88 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.004179, allocations: 116.5 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.004192, allocations: 4.375 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.004203, allocations: 4.375 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.004308, allocations: 76.47 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.004316, allocations: 0.9062 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.004326, allocations: 384 / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.004336, allocations: 4.469 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.004384, allocations: 37.7 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.004767, allocations: 265.4 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.004848, allocations: 72.73 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.004881, allocations: 45.33 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.004899, allocations: 4.625 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.005042, allocations: 145 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.005043, allocations: 0 / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0005383/0.005582, allocations: 195.5 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.005626, allocations: 85.09 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.0057, allocations: 167.1 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.00571, allocations: 25.7 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.005754, allocations: 134.9 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.005774, allocations: 33.09 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.005807, allocations: 31.36 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.005909, allocations: 496.1 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.005942, allocations: 41.69 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.005987, allocations: 70.5 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.006062, allocations: 118.4 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006064, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001223/0.006187, allocations: 145.9 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.006216, allocations: 42.53 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.00622, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.006232, allocations: 2.219 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.006277, allocations: 4 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.006283, allocations: 4 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.006324, allocations: 7.953 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006329, allocations: 0 / 0.8163 GB, free: 12.55 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 8.361e-05/0.006413, allocations: 202.1 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.006427, allocations: 11.94 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.006449, allocations: 8.438 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.006452, allocations: 4 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006456, allocations: 0 / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006459, allocations: 0 / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.006759, allocations: 424.7 kB / 0.8169 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.006762, allocations: 4 kB / 0.8169 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.006767, allocations: 5.406 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006769, allocations: 0 / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.006778, allocations: 4 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.00678, allocations: 0 / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006781, allocations: 0.5 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.00695, allocations: 319.7 kB / 0.8172 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.006961, allocations: 3.938 kB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.00698, allocations: 5.375 kB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.007038, allocations: 7.984 kB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.007088, allocations: 8 kB / 0.8172 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.007105, allocations: 4.547 kB / 0.8172 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.007149, allocations: 131.2 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00715, allocations: 1.125 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001582/0.007308, allocations: 12 kB / 0.8174 GB, free: 11.33 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 8.954e-05/0.007397, allocations: 102.6 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.007568, allocations: 171 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.00757, allocations: 3.688 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.007634, allocations: 116.7 kB / 0.8178 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.007854, allocations: 20.86 kB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.008184, allocations: 187.5 kB / 0.818 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.008223, allocations: 59.34 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.00825, allocations: 4 kB / 0.818 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.008279, allocations: 12.5 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.00828, allocations: 1.531 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of Templates: time 0.002752/0.01103, allocations: 0.9875 MB / 0.819 GB, free: 9.617 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.825981004163623]