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.001002/0.001002, 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.001011/0.001011, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.834/1.834, allocations: 205.1 MB / 222 MB, free: 5.008 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.714/1.714, allocations: 251.6 MB / 0.5088 GB, free: 3.387 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.001764/0.001763, allocations: 63.91 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7725, allocations: 104.7 MB / 0.7238 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002785/0.7753, allocations: 1.435 MB / 0.7252 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005041/0.7758, allocations: 204.3 kB / 0.7254 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.7759, allocations: 0 / 0.7254 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.776, allocations: 7.922 kB / 0.7254 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.776, allocations: 3.938 kB / 0.7254 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.7762, allocations: 19.97 kB / 0.7255 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.7763, allocations: 55.8 kB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7764, allocations: 7.984 kB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.7765, allocations: 19.88 kB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.7765, allocations: 23.91 kB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.7766, allocations: 4 kB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.7766, allocations: 4 kB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.7766, allocations: 11.88 kB / 0.7256 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.7767, allocations: 27.91 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.7768, allocations: 49.97 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7768, allocations: 3.938 kB / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.91e-07/0.7768, allocations: 0 / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.7768, allocations: 0 / 0.7257 GB, free: 11.45 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.0005823/0.7774, allocations: 367.3 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7774, allocations: 12.03 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.7775, allocations: 4.844 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.7776, allocations: 172.3 kB / 0.7262 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.7776, allocations: 4.375 kB / 0.7262 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.7776, allocations: 8.312 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.7778, allocations: 50.23 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7778, allocations: 192 / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.7778, allocations: 3.938 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.7778, allocations: 8 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.7779, allocations: 23.98 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.7783, allocations: 280.8 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.7784, allocations: 50.44 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.7784, allocations: 20.98 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.7784, allocations: 4 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.7786, allocations: 67.39 kB / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.7786, allocations: 0 / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002058/0.7788, allocations: 89.59 kB / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.7789, allocations: 59.39 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.779, allocations: 113.8 kB / 0.7269 GB, free: 9.938 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.779, allocations: 29.7 kB / 0.727 GB, free: 9.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.7791, allocations: 92.12 kB / 0.727 GB, free: 9.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.7791, allocations: 11.81 kB / 0.7271 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.7791, allocations: 21.72 kB / 0.7271 GB, free: 9.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7793, allocations: 322.8 kB / 0.7274 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.7793, allocations: 8 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/0.7794, allocations: 38.56 kB / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.7794, allocations: 50.45 kB / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.7795, allocations: 0 / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001207/0.7796, allocations: 77.53 kB / 0.7276 GB, free: 9.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7796, allocations: 8.188 kB / 0.7276 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7796, allocations: 3.984 kB / 0.7276 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7796, allocations: 7.875 kB / 0.7276 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.7797, allocations: 4 kB / 0.7276 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7797, allocations: 7.938 kB / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.7798, allocations: 19.98 kB / 0.7276 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.7798, allocations: 4 kB / 0.7276 GB, free: 9.195 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 8.355e-05/0.7799, allocations: 117.8 kB / 0.7277 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.7799, allocations: 4 kB / 0.7277 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.78, allocations: 8.375 kB / 0.7277 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.78, allocations: 3.984 kB / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.78, allocations: 3.984 kB / 0.7277 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.78, allocations: 0 / 0.7277 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.7801, allocations: 185.5 kB / 0.7279 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7801, allocations: 0 / 0.7279 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.7802, allocations: 7.984 kB / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7802, allocations: 0 / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.7802, allocations: 4 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7802, allocations: 0 / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7802, allocations: 0.7031 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.7803, allocations: 101 kB / 0.728 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.7804, allocations: 81.02 kB / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.7804, allocations: 7.984 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.7805, allocations: 11.98 kB / 0.7281 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.7805, allocations: 11.98 kB / 0.7281 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7805, allocations: 0 / 0.7281 GB, free: 8.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.7806, allocations: 91.34 kB / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7806, allocations: 0 / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001835/0.7808, allocations: 15.98 kB / 0.7282 GB, free: 8.457 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.0001481/0.781, allocations: 103.2 kB / 0.7283 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.7811, allocations: 47.91 kB / 0.7284 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7811, allocations: 0 / 0.7284 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.7812, allocations: 24 kB / 0.7284 GB, free: 8.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.7814, allocations: 19.86 kB / 0.7284 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.7817, allocations: 175.6 kB / 0.7286 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.782, allocations: 0.6886 MB / 0.7293 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.7821, allocations: 7.859 kB / 0.7293 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.7821, allocations: 11.44 kB / 0.7293 GB, free: 7.324 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7821, allocations: 0 / 0.7293 GB, free: 7.324 MB / 0.545 GB Notification: Performance of Templates: time 0.002837/0.7849, allocations: 0.7883 MB / 0.73 GB, free: 6.547 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (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)