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.007115/0.007115, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001257/0.001257, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.764/1.764, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.818/1.818, allocations: 251.7 MB / 0.5094 GB, free: 2.977 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.001684/0.001685, allocations: 67.91 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3111, allocations: 104.7 MB / 0.8281 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002851/0.314, allocations: 1.436 MB / 0.8295 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.3146, allocations: 224.5 kB / 0.8297 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.3146, allocations: 0 / 0.8297 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.3147, allocations: 7.922 kB / 0.8297 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.3148, allocations: 19.86 kB / 0.8297 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.315, allocations: 23.91 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3151, allocations: 83.7 kB / 0.8298 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3152, allocations: 16.19 kB / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.3153, allocations: 39.84 kB / 0.8299 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.3154, allocations: 31.84 kB / 0.8299 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3154, allocations: 8 kB / 0.8299 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.3155, allocations: 8 kB / 0.8299 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.3155, allocations: 11.92 kB / 0.8299 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.3156, allocations: 35.86 kB / 0.83 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3157, allocations: 79.62 kB / 0.83 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3157, allocations: 0 / 0.83 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3157, allocations: 4 kB / 0.83 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3157, allocations: 0 / 0.83 GB, free: 14.3 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006805/0.3164, allocations: 405.5 kB / 0.8304 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3165, allocations: 8.031 kB / 0.8304 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3165, allocations: 8.844 kB / 0.8304 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3167, allocations: 176.2 kB / 0.8306 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3167, allocations: 8.375 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3167, allocations: 8.375 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3169, allocations: 66.17 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3169, allocations: 3.938 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3169, allocations: 3.984 kB / 0.8307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3169, allocations: 0 / 0.8307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.317, allocations: 35.92 kB / 0.8307 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.3175, allocations: 308.7 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.3176, allocations: 50.56 kB / 0.8311 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.3176, allocations: 24.84 kB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3177, allocations: 96 / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.3178, allocations: 91.22 kB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3179, allocations: 0 / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002713/0.3181, allocations: 109.6 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3182, allocations: 51.41 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3183, allocations: 137.7 kB / 0.8315 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3183, allocations: 29.7 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3184, allocations: 92.12 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.3184, allocations: 19.72 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.3185, allocations: 29.7 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3186, allocations: 322.8 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.3187, allocations: 23.92 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.3187, allocations: 59.36 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/0.3188, allocations: 63.69 kB / 0.8321 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3188, allocations: 0 / 0.8321 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001368/0.319, allocations: 101.6 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.319, allocations: 12 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.319, allocations: 3.938 kB / 0.8322 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.319, allocations: 0 / 0.8322 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.3191, allocations: 8 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3191, allocations: 0 / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3192, allocations: 23.91 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3192, allocations: 4 kB / 0.8322 GB, free: 11.82 MB / 0.6544 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 9.466e-05/0.3193, allocations: 133.7 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.3194, allocations: 7.906 kB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.3194, allocations: 12.38 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3194, allocations: 7.984 kB / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3194, allocations: 0 / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3194, allocations: 0 / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3196, allocations: 193.7 kB / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3196, allocations: 0 / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.3196, allocations: 0 / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3196, allocations: 0 / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3196, allocations: 4 kB / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3196, allocations: 4 kB / 0.8326 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3196, allocations: 0 / 0.8326 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.3198, allocations: 125 kB / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.3199, allocations: 85.11 kB / 0.8328 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3199, allocations: 3.938 kB / 0.8328 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.32, allocations: 15.97 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3201, allocations: 15.98 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3201, allocations: 8 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.3201, allocations: 95.27 kB / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.074e-06/0.3202, allocations: 0 / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001991/0.3204, allocations: 23.94 kB / 0.8329 GB, free: 11 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: 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.000145/0.3205, allocations: 111.1 kB / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.3207, allocations: 63.86 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3207, allocations: 192 / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.3208, allocations: 43.92 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.321, allocations: 24.75 kB / 0.8332 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.3214, allocations: 182.5 kB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3217, allocations: 0.6922 MB / 0.834 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3217, allocations: 20.53 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.3218, allocations: 11.44 kB / 0.834 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.3218, allocations: 0 / 0.834 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of Templates: time 0.003772/0.3255, allocations: 1.274 MB / 0.8353 GB, free: 8.535 MB / 0.6544 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)