Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 193 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001961, allocations: 61.17 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4302, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002202/0.4325, allocations: 0.7139 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.4341, allocations: 1.213 MB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.4342, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.4343, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.4343, allocations: 15.88 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.4349, allocations: 191.1 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.4351, allocations: 151.7 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4352, allocations: 11.98 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.4353, allocations: 63.89 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.4355, allocations: 47.86 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.4355, allocations: 8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.4356, allocations: 19.98 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.4356, allocations: 15.92 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.4357, allocations: 47.83 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.4359, allocations: 147.6 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4359, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.42e-05/0.4359, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.436, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 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.0005771/0.4365, allocations: 439 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4366, allocations: 12.02 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.4367, allocations: 16.78 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4368, allocations: 164.4 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4368, allocations: 8.375 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.4369, allocations: 8.375 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.437, allocations: 46.23 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.437, allocations: 192 / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.437, allocations: 11.94 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.437, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.4371, allocations: 16 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.4376, allocations: 356.6 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.4377, allocations: 42.5 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.4377, allocations: 12.86 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.4378, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.438, allocations: 87.38 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.438, allocations: 4 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002628/0.4382, allocations: 101.6 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4383, allocations: 51.41 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4385, allocations: 121.8 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4385, allocations: 29.7 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.4386, allocations: 100 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4386, allocations: 11.91 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.4387, allocations: 49.69 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4389, allocations: 323.1 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.439, allocations: 59.91 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.4392, allocations: 103.7 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.4394, allocations: 155.6 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4394, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004361/0.4398, allocations: 260.8 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.4399, allocations: 67.39 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4399, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4399, allocations: 8.188 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.431e-05/0.44, allocations: 8 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.44, allocations: 7.938 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.4404, allocations: 55.83 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4404, allocations: 11.98 kB / 1.073 GB, free: 5.207 MB / 0.8262 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.0001541/0.4406, allocations: 136.1 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.4406, allocations: 8 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.4406, allocations: 4.375 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4406, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4406, allocations: 4 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4406, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4408, allocations: 181.5 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4408, allocations: 4 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.4409, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4409, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.4409, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4409, allocations: 8 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4409, allocations: 96 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.4411, allocations: 116.9 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.4412, allocations: 85.02 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4412, allocations: 3.984 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.4412, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.4413, allocations: 4 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.4413, allocations: 11.94 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.683e-05/0.4414, allocations: 95.27 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4414, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002421/0.4417, allocations: 24 kB / 1.073 GB, free: 4.441 MB / 0.8262 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.0002018/0.4419, allocations: 103.2 kB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.4423, allocations: 250.6 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4423, allocations: 0 / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.4423, allocations: 27.94 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.4426, allocations: 20.17 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.4431, allocations: 168.5 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4434, allocations: 0.6848 MB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.147e-05/0.4434, allocations: 11.78 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.4435, allocations: 11.44 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4435, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.004845/0.4483, allocations: 1.753 MB / 1.076 GB, free: 1.359 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)