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.0008508/0.0008508, 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.0009813/0.0009813, allocations: 164.5 kB / 24.86 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.9563/0.9563, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.88/1.88, allocations: 377.9 MB / 0.6247 GB, free: 8.438 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.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 1.453e-06/1.453e-06, allocations: 0 / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.831e-05, allocations: 8.922 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001218/0.001237, allocations: 0.6624 MB / 0.8134 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002376, allocations: 1.238 MB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.002419, allocations: 1 kB / 0.8147 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.002445, allocations: 3.938 kB / 0.8147 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.002514, allocations: 13.08 kB / 0.8147 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.00295, allocations: 208.1 kB / 0.8149 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.00312, allocations: 173 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.003191, allocations: 15.97 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-05/0.003291, allocations: 94.31 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.003389, allocations: 55.78 kB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.003413, allocations: 16 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.00347, allocations: 24 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.00349, allocations: 11.97 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.003536, allocations: 47.91 kB / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.003683, allocations: 135.7 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003685, allocations: 5.516 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003686, allocations: 0 / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.003689, allocations: 0 / 0.8154 GB, free: 14.8 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.0003532/0.004042, allocations: 459.8 kB / 0.8159 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.004073, allocations: 13.5 kB / 0.8159 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.004111, allocations: 12.89 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.004185, allocations: 120.5 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004199, allocations: 8.375 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.004216, allocations: 8.906 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.521e-05/0.004281, allocations: 42.78 kB / 0.8161 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004288, allocations: 4.125 kB / 0.8161 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004296, allocations: 5.328 kB / 0.8161 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004301, allocations: 384 / 0.8161 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.004321, allocations: 16.66 kB / 0.8161 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.004593, allocations: 308.2 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.004644, allocations: 35.59 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.004658, allocations: 13.14 kB / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.004665, allocations: 4 kB / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.004883, allocations: 76.95 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.004884, allocations: 1.156 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001537/0.005038, allocations: 97.55 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.005067, allocations: 55.41 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.005137, allocations: 178.8 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.005156, allocations: 33.7 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.005205, allocations: 135.7 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.00522, allocations: 23.88 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.00528, allocations: 47.34 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.005379, allocations: 0.4895 MB / 0.8175 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.005456, allocations: 107.3 kB / 0.8176 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.005544, allocations: 149.8 kB / 0.8178 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/0.005641, allocations: 156.2 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005643, allocations: 0 / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002478/0.00589, allocations: 301.4 kB / 0.8182 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.005928, allocations: 71.33 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005932, allocations: 3.188 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.005939, allocations: 4 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.418e-05/0.005954, allocations: 7.922 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.005957, allocations: 4.312 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.006106, allocations: 31.97 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.006127, allocations: 19.98 kB / 0.8183 GB, free: 11.49 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 7.148e-05/0.006198, allocations: 163 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.006211, allocations: 15.95 kB / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006238, allocations: 16.34 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.00624, allocations: 0 / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006241, allocations: 0 / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.006245, allocations: 4 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.923e-05/0.006314, allocations: 114.7 kB / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006315, allocations: 0 / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-06/0.006319, allocations: 0 / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.00632, allocations: 0 / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006326, allocations: 5.062 kB / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006327, allocations: 3.938 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.006329, allocations: 7.984 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/0.00642, allocations: 121.2 kB / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.006426, allocations: 3.953 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.006435, allocations: 4.828 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.006447, allocations: 8 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.006469, allocations: 5.219 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.006475, allocations: 7.984 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.006508, allocations: 123.2 kB / 0.8189 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006508, allocations: 0 / 0.8189 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000157/0.006665, allocations: 36.8 kB / 0.819 GB, free: 10.81 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 8.475e-05/0.00675, allocations: 101.7 kB / 0.819 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.006946, allocations: 273.8 kB / 0.8193 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006948, allocations: 0 / 0.8193 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.006972, allocations: 23.67 kB / 0.8193 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.007114, allocations: 15.7 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.007325, allocations: 158.9 kB / 0.8195 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.007354, allocations: 63.2 kB / 0.8196 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.007373, allocations: 4 kB / 0.8196 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.007474, allocations: 102.2 kB / 0.8197 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.007474, allocations: 0.9375 kB / 0.8197 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of Templates: time 0.003398/0.01087, allocations: 2.288 MB / 0.8219 GB, free: 7.777 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: 4.950202467851341]