Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001023/0.001023, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008054/0.008054, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.668/1.668, allocations: 252 MB / 0.5105 GB, free: 4.711 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005542/0.0005542, allocations: 20 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6336/0.6342, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002095/0.6363, allocations: 1.108 MB / 0.7298 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.637, allocations: 196.3 kB / 0.73 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.6371, allocations: 4 kB / 0.73 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.6371, allocations: 3.984 kB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/0.6372, allocations: 3.938 kB / 0.73 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.6374, allocations: 23.97 kB / 0.73 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.6375, allocations: 59.72 kB / 0.7301 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.6377, allocations: 8 kB / 0.7301 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.6377, allocations: 15.94 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.6378, allocations: 19.91 kB / 0.7301 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.6378, allocations: 4 kB / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.6379, allocations: 0 / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.6379, allocations: 4 kB / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.638, allocations: 53.55 kB / 0.7302 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.6381, allocations: 49.83 kB / 0.7302 GB, free: 9.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6381, allocations: 0 / 0.7302 GB, free: 9.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6381, allocations: 0 / 0.7302 GB, free: 9.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.6381, allocations: 0 / 0.7302 GB, free: 9.727 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006913/0.6388, allocations: 367.3 kB / 0.7306 GB, free: 9.316 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6389, allocations: 12.02 kB / 0.7306 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.639, allocations: 8.938 kB / 0.7306 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.6391, allocations: 180.1 kB / 0.7308 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.6392, allocations: 4.375 kB / 0.7308 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.6392, allocations: 4.375 kB / 0.7308 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.6393, allocations: 54.23 kB / 0.7308 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6394, allocations: 192 / 0.7308 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6394, allocations: 3.938 kB / 0.7309 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.6394, allocations: 3.984 kB / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.6395, allocations: 16 kB / 0.7309 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.64, allocations: 288.8 kB / 0.7311 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6401, allocations: 46.5 kB / 0.7312 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.6402, allocations: 16.98 kB / 0.7312 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6402, allocations: 0 / 0.7312 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.6404, allocations: 83.22 kB / 0.7313 GB, free: 8.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6404, allocations: 0 / 0.7313 GB, free: 8.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002479/0.6407, allocations: 85.75 kB / 0.7314 GB, free: 8.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.6407, allocations: 51.41 kB / 0.7314 GB, free: 8.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6408, allocations: 126 kB / 0.7315 GB, free: 8.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.6409, allocations: 29.7 kB / 0.7316 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.6409, allocations: 84.14 kB / 0.7316 GB, free: 8.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.641, allocations: 7.906 kB / 0.7317 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.641, allocations: 21.72 kB / 0.7317 GB, free: 8.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6411, allocations: 322.8 kB / 0.732 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.6412, allocations: 12 kB / 0.732 GB, free: 7.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.6413, allocations: 42.5 kB / 0.732 GB, free: 7.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.227e-05/0.6413, allocations: 42.52 kB / 0.7321 GB, free: 7.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6413, allocations: 4 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001183/0.6415, allocations: 81.52 kB / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6415, allocations: 4 kB / 0.7322 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6415, allocations: 4 kB / 0.7322 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6415, allocations: 0 / 0.7322 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.6416, allocations: 7.938 kB / 0.7322 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6416, allocations: 4 kB / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/0.6417, allocations: 23.92 kB / 0.7322 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.6417, allocations: 8.062 kB / 0.7322 GB, free: 7.473 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,or1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.46e-05/0.6418, allocations: 117.8 kB / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.6418, allocations: 3.906 kB / 0.7323 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.6419, allocations: 20.3 kB / 0.7323 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6419, allocations: 0 / 0.7323 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6419, allocations: 0 / 0.7323 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6419, allocations: 0 / 0.7323 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.642, allocations: 181.6 kB / 0.7325 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6421, allocations: 0 / 0.7325 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.6421, allocations: 7.938 kB / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.6421, allocations: 0 / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6421, allocations: 4 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6421, allocations: 0 / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6421, allocations: 0 / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.6422, allocations: 101 kB / 0.7326 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.6423, allocations: 85.09 kB / 0.7327 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.6423, allocations: 0 / 0.7327 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.6424, allocations: 15.98 kB / 0.7327 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.6425, allocations: 7.984 kB / 0.7327 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6425, allocations: 8 kB / 0.7327 GB, free: 6.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.6426, allocations: 91.27 kB / 0.7328 GB, free: 6.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6426, allocations: 0 / 0.7328 GB, free: 6.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001881/0.6428, allocations: 11.91 kB / 0.7328 GB, free: 6.734 MB / 0.545 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001563/0.6429, allocations: 111.2 kB / 0.7329 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.643, allocations: 40.16 kB / 0.733 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6431, allocations: 4 kB / 0.733 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.6431, allocations: 24.73 kB / 0.733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.6433, allocations: 19.92 kB / 0.733 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.6437, allocations: 178.5 kB / 0.7332 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.644, allocations: 0.6848 MB / 0.7339 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.644, allocations: 11.84 kB / 0.7339 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.644, allocations: 7.438 kB / 0.7339 GB, free: 5.598 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.644, allocations: 4 kB / 0.7339 GB, free: 5.594 MB / 0.545 GB Notification: Performance of Templates: time 0.003223/0.6473, allocations: 0.7707 MB / 0.7346 GB, free: 4.832 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) Environment - environmentSimulation: