Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001043/0.001043, 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.001943/0.001943, 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 1.019/1.019, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.924/1.924, allocations: 377.9 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.501e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001654/0.001679, allocations: 0.6658 MB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.003393, allocations: 1.239 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.003456, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/0.0035, allocations: 3.938 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.003608, allocations: 17.53 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.004366, allocations: 207.4 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.00459, allocations: 177 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004691, allocations: 7.984 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004803, allocations: 97.45 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004922, allocations: 55.84 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.004955, allocations: 16 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.005047, allocations: 27.92 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.005075, allocations: 8 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.005148, allocations: 44.67 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005359, allocations: 140.2 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.005365, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.233e-06/0.005366, allocations: 1.656 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.005373, allocations: 0 / 0.8142 GB, free: 15.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000546/0.005919, allocations: 463.8 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.005965, allocations: 12.03 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.006036, allocations: 17.53 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.006149, allocations: 116.6 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.006169, allocations: 5.562 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.006191, allocations: 8.375 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.006287, allocations: 50.17 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006295, allocations: 1.344 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.006305, allocations: 384 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.006313, allocations: 4.375 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.006338, allocations: 13.31 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.006702, allocations: 323.7 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.006778, allocations: 46.92 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.006797, allocations: 9.438 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.006804, allocations: 4 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.006905, allocations: 85.05 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.006906, allocations: 0 / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002078/0.007114, allocations: 103.6 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.007152, allocations: 59.41 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.007235, allocations: 173.9 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.007257, allocations: 33.7 kB / 0.8157 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.007313, allocations: 138.9 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.007326, allocations: 12.72 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.007391, allocations: 51.34 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.007518, allocations: 0.4946 MB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.007632, allocations: 111.4 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.007754, allocations: 160.5 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.00789, allocations: 159.7 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.007893, allocations: 4 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003172/0.008211, allocations: 320.2 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.008261, allocations: 67.89 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.008268, allocations: 4 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.008283, allocations: 1.969 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.076e-05/0.008304, allocations: 8 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.008309, allocations: 0 / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.00849, allocations: 46.39 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.008509, allocations: 8 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.592e-05/0.008595, allocations: 176.4 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.008607, allocations: 11.89 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.008631, allocations: 8.438 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.008634, allocations: 9.141 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.008637, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.008641, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.115e-05/0.008722, allocations: 133.2 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008723, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.008729, allocations: 4.75 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.008731, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.00874, allocations: 4.781 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.008741, allocations: 3.938 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008742, allocations: 3.594 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.00885, allocations: 120.3 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.008856, allocations: 3.953 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.008869, allocations: 7.938 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.008881, allocations: 7.984 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.008916, allocations: 0 / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.008924, allocations: 7.984 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.008964, allocations: 131.7 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008964, allocations: 0 / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001622/0.009126, allocations: 28 kB / 0.8178 GB, free: 10.94 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001169/0.009243, allocations: 105.3 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.009489, allocations: 277.8 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009491, allocations: 0.9375 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.009531, allocations: 35.61 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.009705, allocations: 13.39 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.01025, allocations: 155.9 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.531e-05/0.01029, allocations: 59.22 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.01031, allocations: 9.078 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.01033, allocations: 12.5 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01033, allocations: 0 / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.003845/0.01418, allocations: 2.254 MB / 0.8207 GB, free: 8.008 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.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: 5.290274080820382]