Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0009379/0.0009379, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001005/0.001005, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.9936/0.9936, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.243e-05, allocations: 6.25 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001248/0.00127, allocations: 0.6647 MB / 0.8127 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.002515, allocations: 1.233 MB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.002558, allocations: 0 / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.002584, allocations: 5.531 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.002663, allocations: 7.938 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.003094, allocations: 209.1 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003249, allocations: 179.6 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.003321, allocations: 13.67 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.003431, allocations: 87.92 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.003532, allocations: 59.78 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.003559, allocations: 16 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.003614, allocations: 25.47 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.003634, allocations: 11.98 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.00368, allocations: 47.89 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003835, allocations: 135.8 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003837, allocations: 8.422 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003838, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003842, allocations: 1.375 kB / 0.8146 GB, free: 14.77 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.0003802/0.004222, allocations: 463.8 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004259, allocations: 12.03 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.004301, allocations: 14.64 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.124e-05/0.004372, allocations: 116.6 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004385, allocations: 8.375 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.004401, allocations: 8.375 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.702e-05/0.004468, allocations: 50.22 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.004474, allocations: 1.062 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.004482, allocations: 4.375 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004487, allocations: 1.031 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.004503, allocations: 15.88 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.004805, allocations: 304.9 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.938e-05/0.004864, allocations: 36.5 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.004879, allocations: 11.67 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.004886, allocations: 4 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.209e-05/0.004978, allocations: 83.52 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.00498, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001603/0.00514, allocations: 89.56 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.005169, allocations: 59.39 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.005245, allocations: 177.8 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.005269, allocations: 33.7 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.005319, allocations: 138.8 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.005335, allocations: 20.42 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.005395, allocations: 52.05 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.005514, allocations: 0.4884 MB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.005593, allocations: 103.9 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/0.005688, allocations: 151.4 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.005803, allocations: 150.3 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005806, allocations: 0 / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002481/0.006054, allocations: 301.6 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.006093, allocations: 71.33 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.006098, allocations: 5.094 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006109, allocations: 3.938 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-05/0.006127, allocations: 12.7 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.00613, allocations: 0 / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.006277, allocations: 32.94 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.006295, allocations: 17.17 kB / 0.8176 GB, free: 11.47 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,and1.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.836e-05/0.006374, allocations: 172.5 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.006383, allocations: 8.797 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.006407, allocations: 16.36 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.006408, allocations: 2.219 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.00641, allocations: 0 / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006412, allocations: 4 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.76e-05/0.00648, allocations: 105.2 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006481, allocations: 0 / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-06/0.006486, allocations: 4 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.006488, allocations: 6.875 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006494, allocations: 4 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006495, allocations: 320 / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006496, allocations: 3.938 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.006588, allocations: 120.3 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.006595, allocations: 3.953 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.006605, allocations: 7.984 kB / 0.818 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.006614, allocations: 0 / 0.818 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.006647, allocations: 13.42 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.00665, allocations: 4 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.006687, allocations: 127.2 kB / 0.8181 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006687, allocations: 4 kB / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001523/0.006839, allocations: 36.55 kB / 0.8182 GB, free: 10.79 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,and1.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 9.56e-05/0.006935, allocations: 99.81 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.007139, allocations: 263.6 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.007141, allocations: 4 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.007165, allocations: 27.66 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.007316, allocations: 13.83 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.007531, allocations: 155.5 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.007567, allocations: 67.86 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.007593, allocations: 11.75 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.007688, allocations: 102.2 kB / 0.8189 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.007688, allocations: 0 / 0.8189 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.003347/0.01104, allocations: 2.229 MB / 0.8211 GB, free: 7.809 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.0900487918406725]