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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00183/0.00183, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.92/1.92, allocations: 205.1 MB / 222 MB, free: 4.773 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.666/1.666, allocations: 251.6 MB / 0.5088 GB, free: 3.285 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.0014/0.0014, allocations: 68.38 kB / 0.6216 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.742, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00281/0.7449, allocations: 1.49 MB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.7453, allocations: 228.2 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.7454, allocations: 0 / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.7454, allocations: 3.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.7455, allocations: 7.922 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.7457, allocations: 27.86 kB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.7458, allocations: 87.7 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.7459, allocations: 12.19 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.7461, allocations: 31.86 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.7461, allocations: 31.83 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.7461, allocations: 4 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.7462, allocations: 4 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.7462, allocations: 7.938 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.7463, allocations: 43.78 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.7464, allocations: 65.8 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7464, allocations: 0 / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7464, allocations: 0 / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.7464, allocations: 0 / 0.7258 GB, free: 11.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006175/0.747, allocations: 407.1 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7471, allocations: 8.031 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.7471, allocations: 12.84 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7473, allocations: 176.2 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7473, allocations: 8.375 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.7473, allocations: 4.375 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.7474, allocations: 66.17 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7475, allocations: 3.938 kB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.7475, allocations: 0 / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.7475, allocations: 3.984 kB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.7476, allocations: 31.98 kB / 0.7265 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.748, allocations: 316.7 kB / 0.7268 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.137e-05/0.7481, allocations: 50.56 kB / 0.7268 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.7482, allocations: 20.84 kB / 0.7269 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7482, allocations: 4 kB / 0.7269 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.7484, allocations: 91.31 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7484, allocations: 0 / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002481/0.7487, allocations: 117.5 kB / 0.7271 GB, free: 9.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.7487, allocations: 51.41 kB / 0.7271 GB, free: 9.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7488, allocations: 129.8 kB / 0.7272 GB, free: 9.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7489, allocations: 29.7 kB / 0.7273 GB, free: 9.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.7489, allocations: 92.12 kB / 0.7274 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.749, allocations: 27.8 kB / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.749, allocations: 33.7 kB / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7491, allocations: 322.8 kB / 0.7277 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/0.7492, allocations: 19.98 kB / 0.7277 GB, free: 8.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.7493, allocations: 47.42 kB / 0.7278 GB, free: 8.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.7493, allocations: 63.38 kB / 0.7279 GB, free: 8.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.7494, allocations: 0 / 0.7279 GB, free: 8.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002112/0.7496, allocations: 109.4 kB / 0.728 GB, free: 8.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.7496, allocations: 8 kB / 0.728 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.7496, allocations: 0 / 0.728 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7496, allocations: 0 / 0.728 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.7497, allocations: 11.94 kB / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.7497, allocations: 0 / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.7498, allocations: 28.06 kB / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.7498, allocations: 480 / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,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 (13): * Single equations (assignments): 13 * 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 8.327e-05/0.7499, allocations: 125.8 kB / 0.7281 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.75, allocations: 7.906 kB / 0.7281 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.75, allocations: 16.36 kB / 0.7281 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.75, allocations: 4 kB / 0.7281 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.75, allocations: 3.938 kB / 0.7282 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.75, allocations: 0 / 0.7282 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.7502, allocations: 193.6 kB / 0.7283 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7502, allocations: 0 / 0.7283 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.7502, allocations: 3.938 kB / 0.7283 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7502, allocations: 0 / 0.7283 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7502, allocations: 4 kB / 0.7283 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7503, allocations: 0 / 0.7283 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7503, allocations: 0 / 0.7283 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.7504, allocations: 124.9 kB / 0.7285 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.7505, allocations: 88.95 kB / 0.7285 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7505, allocations: 7.984 kB / 0.7286 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.7506, allocations: 15.98 kB / 0.7286 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.7507, allocations: 19.97 kB / 0.7286 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.7507, allocations: 4 kB / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.7507, allocations: 95.27 kB / 0.7287 GB, free: 7.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7507, allocations: 0 / 0.7287 GB, free: 7.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001997/0.7509, allocations: 16 kB / 0.7287 GB, free: 7.766 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001397/0.7511, allocations: 107.2 kB / 0.7288 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.7512, allocations: 71.78 kB / 0.7289 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7512, allocations: 0 / 0.7289 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.7513, allocations: 35.94 kB / 0.7289 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.7516, allocations: 25.2 kB / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.7521, allocations: 208.2 kB / 0.7291 GB, free: 7.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.7525, allocations: 0.6926 MB / 0.7298 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.7525, allocations: 8.547 kB / 0.7298 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.7525, allocations: 15.44 kB / 0.7298 GB, free: 6.551 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.7525, allocations: 0 / 0.7298 GB, free: 6.551 MB / 0.545 GB Notification: Performance of Templates: time 0.003466/0.756, allocations: 1.085 MB / 0.7309 GB, free: 5.477 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)