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.0009618/0.0009618, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001044/0.001044, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9457/0.9457, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.895/1.895, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 2.194e-06/2.194e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.463e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001855/0.00188, allocations: 0.6672 MB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.003634, allocations: 1.237 MB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.003683, allocations: 2.438 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.003719, allocations: 3.938 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.003807, allocations: 15.92 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.004464, allocations: 208.8 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.004728, allocations: 171.7 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.004837, allocations: 8.641 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.004996, allocations: 95.86 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.005135, allocations: 48.39 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.00518, allocations: 19.94 kB / 0.814 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.005267, allocations: 37.34 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.005292, allocations: 4 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.005378, allocations: 51.94 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.005614, allocations: 132.8 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005617, allocations: 0 / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005618, allocations: 0 / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005622, allocations: 0.8125 kB / 0.8142 GB, free: 15.07 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.0008261/0.006448, allocations: 463.8 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.0065, allocations: 12.58 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/0.00658, allocations: 12.89 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.006693, allocations: 125.2 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.006713, allocations: 8.375 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.006748, allocations: 9.562 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.006861, allocations: 46.23 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.006873, allocations: 192 / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.006886, allocations: 1.906 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.006895, allocations: 4.312 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.00693, allocations: 11.94 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.007433, allocations: 327.6 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.222e-05/0.007525, allocations: 40.98 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.007553, allocations: 11.69 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.007563, allocations: 4.078 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.00769, allocations: 84.91 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.007691, allocations: 1.438 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000261/0.007952, allocations: 101.6 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.007991, allocations: 51.41 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.008108, allocations: 181.9 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.008141, allocations: 34.86 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.008215, allocations: 134.9 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.008233, allocations: 11.91 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.008337, allocations: 55.88 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.008477, allocations: 0.4889 MB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.00864, allocations: 119.3 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.008817, allocations: 154.7 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.009004, allocations: 163.5 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.009007, allocations: 0 / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004695/0.009477, allocations: 321 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.009534, allocations: 68.67 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.009541, allocations: 0 / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.009561, allocations: 4 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.287e-05/0.009584, allocations: 4.719 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.009594, allocations: 8 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.009848, allocations: 38.39 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.009884, allocations: 15.98 kB / 0.8172 GB, free: 11.68 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 0.0001123/0.009997, allocations: 168.5 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.01002, allocations: 16.95 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.01006, allocations: 8.438 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01006, allocations: 0 / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01006, allocations: 3.281 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.01007, allocations: 3.984 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.01019, allocations: 128.6 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01019, allocations: 0 / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.0102, allocations: 3.938 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.0102, allocations: 0 / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01022, allocations: 15.88 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01022, allocations: 0 / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01022, allocations: 0 / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.01038, allocations: 112.9 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.01039, allocations: 8.984 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01042, allocations: 11.91 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.01044, allocations: 0 / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.01048, allocations: 13.23 kB / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01049, allocations: 4 kB / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.01055, allocations: 127.7 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01055, allocations: 0 / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000276/0.01083, allocations: 32.48 kB / 0.8178 GB, free: 10.97 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.000138/0.01097, allocations: 104.2 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.01132, allocations: 286.1 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01133, allocations: 1.281 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01137, allocations: 23.67 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01162, allocations: 17.36 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.01197, allocations: 162.2 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.01201, allocations: 63.2 kB / 0.8184 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.01204, allocations: 6.344 kB / 0.8184 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.01207, allocations: 12.5 kB / 0.8184 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01207, allocations: 0 / 0.8184 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.005089/0.01716, allocations: 2.055 MB / 0.8204 GB, free: 8.234 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.277041009627283]