Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.21/3.21, allocations: 287.5 MB / 302.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 179.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009192, allocations: 88.92 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006664/0.0006668, allocations: 12.94 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.237, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001181/0.2382, allocations: 390.5 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.2415, allocations: 1.165 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.2416, allocations: 4 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.2417, allocations: 0 / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.2418, allocations: 11.91 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.2431, allocations: 194.3 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.2435, allocations: 135.7 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.2437, allocations: 4 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.2441, allocations: 63.88 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.2444, allocations: 47.88 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.2446, allocations: 12 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.2448, allocations: 15.98 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.2448, allocations: 11.98 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.2449, allocations: 41.64 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.2452, allocations: 104 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2452, allocations: 0 / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2452, allocations: 0 / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2453, allocations: 0 / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006306/0.2459, allocations: 406.7 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.246, allocations: 12.02 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.2461, allocations: 42.55 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.2462, allocations: 11.84 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2463, allocations: 167 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.2464, allocations: 8 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.2465, allocations: 11.94 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2467, allocations: 49.67 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2467, allocations: 0 / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2467, allocations: 4 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2468, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.2468, allocations: 12 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.2481, allocations: 360.6 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.2484, allocations: 42.48 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.2486, allocations: 16.86 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2486, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.249, allocations: 83.45 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.2491, allocations: 3.938 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004668/0.2495, allocations: 109.5 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2496, allocations: 59.36 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2498, allocations: 114 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.2499, allocations: 29.7 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.25, allocations: 96.22 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.25, allocations: 11.91 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.2501, allocations: 8 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.2502, allocations: 318.8 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.2505, allocations: 59.97 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.2509, allocations: 88.25 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.2512, allocations: 123.7 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2512, allocations: 0 / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001847/0.2531, allocations: 256.8 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.2532, allocations: 71.39 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2533, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.2533, allocations: 4 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.2534, allocations: 0 / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2534, allocations: 4 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/0.2543, allocations: 79.95 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.2544, allocations: 15.98 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.2546, allocations: 128.8 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.2547, allocations: 3.906 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.2547, allocations: 16.36 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2548, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.2548, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2548, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.255, allocations: 177.6 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.255, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.2551, allocations: 11.98 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2551, allocations: 0 / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2551, allocations: 4 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2551, allocations: 0 / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2551, allocations: 0 / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.2555, allocations: 112.9 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.2556, allocations: 88.95 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.2557, allocations: 4 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2559, allocations: 0 / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.256, allocations: 11.98 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.2561, allocations: 0 / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001334/0.2563, allocations: 95.2 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.663e-06/0.2563, allocations: 0 / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009037/0.2572, allocations: 32 kB / 0.9838 GB, free: 22.36 MB / 0.6198 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007172/0.258, allocations: 0.6553 MB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007078/0.2587, allocations: 242.7 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2588, allocations: 0 / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2589, allocations: 27.98 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.2594, allocations: 11.98 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.2628, allocations: 0.7105 MB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.263, allocations: 0.6886 MB / 0.9861 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.2631, allocations: 8 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.2632, allocations: 15.44 kB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2632, allocations: 0 / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.2926, allocations: 2.593 MB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.2929, allocations: 186.7 kB / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.78, allocations: 0 / 0.9888 GB, free: 17.19 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)