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.008414/0.008414, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001647/0.001647, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.791/1.791, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.645/1.645, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001478/0.001478, allocations: 67.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3133, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003088/0.3164, allocations: 1.371 MB / 0.8294 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.317, allocations: 208.6 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.3171, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.3171, allocations: 3.938 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3173, allocations: 19.84 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.3175, allocations: 15.98 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3176, allocations: 63.72 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3177, allocations: 8 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.3178, allocations: 23.92 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.3179, allocations: 19.91 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3179, allocations: 8 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.3179, allocations: 4 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.318, allocations: 11.98 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.318, allocations: 23.88 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.3182, allocations: 47.8 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3182, allocations: 3.938 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3182, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3182, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 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.000629/0.3188, allocations: 371.2 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3189, allocations: 12.03 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3189, allocations: 16.83 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3191, allocations: 180.2 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3191, allocations: 8.375 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3191, allocations: 4.375 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3193, allocations: 50.23 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3193, allocations: 192 / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3193, allocations: 7.938 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3193, allocations: 3.938 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.892e-05/0.3194, allocations: 19.98 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.3198, allocations: 284.8 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3199, allocations: 42.52 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.32, allocations: 20.97 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.32, allocations: 0 / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.3202, allocations: 75.39 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3202, allocations: 4 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002312/0.3204, allocations: 85.64 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3205, allocations: 55.39 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3207, allocations: 113.8 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3207, allocations: 25.7 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.3207, allocations: 88.14 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3208, allocations: 11.91 kB / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3208, allocations: 25.7 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.321, allocations: 322.8 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.3211, allocations: 15.98 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.3211, allocations: 30.52 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.3212, allocations: 54.48 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3212, allocations: 0 / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000118/0.3213, allocations: 81.58 kB / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3213, allocations: 8 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.3214, allocations: 0 / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.3214, allocations: 7.922 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.3215, allocations: 7.938 kB / 0.8318 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3215, allocations: 4.703 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.3216, allocations: 7.984 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3216, allocations: 4 kB / 0.8318 GB, free: 12.11 MB / 0.6544 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.679e-05/0.3217, allocations: 133.8 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3217, allocations: 7.953 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.3217, allocations: 8.375 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3217, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.3218, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3218, allocations: 4 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.322, allocations: 173.6 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.322, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.322, allocations: 8.125 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.322, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.322, allocations: 7.938 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.322, allocations: 4 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.322, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.3222, allocations: 113 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.3223, allocations: 77.11 kB / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3223, allocations: 4 kB / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3224, allocations: 11.98 kB / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3224, allocations: 7.984 kB / 0.8323 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3224, allocations: 4 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.3225, allocations: 95.27 kB / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3225, allocations: 0 / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001863/0.3227, allocations: 15.95 kB / 0.8324 GB, free: 11.36 MB / 0.6544 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.0001318/0.3228, allocations: 102.4 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.323, allocations: 43.98 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.323, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.323, allocations: 32.05 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3233, allocations: 19.92 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.3238, allocations: 154 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3241, allocations: 0.6844 MB / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3241, allocations: 7.859 kB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3242, allocations: 19.38 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3242, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.003283/0.3275, allocations: 0.9142 MB / 0.8344 GB, free: 9.332 MB / 0.6544 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)