Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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 2.596/2.597, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.002576/0.002576, allocations: 187.4 kB / 370.8 MB, free: 10.83 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.118/2.118, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001079/0.001079, allocations: 82.92 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 12.89 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009164/0.2094, allocations: 434.5 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2111, allocations: 1.189 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.2112, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.2112, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2113, allocations: 19.91 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2124, allocations: 273.5 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.2126, allocations: 127.8 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2127, allocations: 16.17 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2129, allocations: 83.86 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.213, allocations: 71.78 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.2131, allocations: 12 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.2132, allocations: 27.97 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2132, allocations: 8 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.2133, allocations: 49.64 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.2135, allocations: 151.9 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2135, allocations: 0 / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2136, allocations: 0 / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2136, allocations: 0 / 0.9807 GB, free: 25.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000484/0.2141, allocations: 464.1 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2141, allocations: 12.02 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.2142, allocations: 42.48 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.2142, allocations: 11.91 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2144, allocations: 169.4 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2144, allocations: 12 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.2145, allocations: 15.94 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.2146, allocations: 65.64 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2147, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2147, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2147, allocations: 4 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.2148, allocations: 27.98 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.2155, allocations: 412.5 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.736e-05/0.2155, allocations: 38.5 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2156, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.2158, allocations: 103.3 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.2158, allocations: 3.938 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003856/0.2162, allocations: 137.6 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2163, allocations: 59.3 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2164, allocations: 129.8 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.2165, allocations: 33.7 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.2165, allocations: 100.1 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.2166, allocations: 27.73 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.2166, allocations: 8 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.2167, allocations: 318.8 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.217, allocations: 87.95 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.2173, allocations: 130 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.2176, allocations: 180.1 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2176, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000839/0.2185, allocations: 366.4 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.2186, allocations: 101.5 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2186, allocations: 192 / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2186, allocations: 8 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-05/0.2187, allocations: 7.953 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.2187, allocations: 7.875 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2197, allocations: 117.1 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.2198, allocations: 28 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001452/0.2199, allocations: 130.1 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.22, allocations: 7.906 kB / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.22, allocations: 12.36 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.22, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2201, allocations: 7.953 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2201, allocations: 0 / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2202, allocations: 193.6 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2203, allocations: 0 / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.2203, allocations: 3.984 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2203, allocations: 7.938 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2203, allocations: 4 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2203, allocations: 3.984 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2203, allocations: 0 / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.2206, allocations: 140.9 kB / 0.9843 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.2206, allocations: 85.02 kB / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2207, allocations: 4 kB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.2207, allocations: 4 kB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.2208, allocations: 11.98 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2208, allocations: 8 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.2209, allocations: 91.97 kB / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2209, allocations: 0 / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003737/0.2213, allocations: 51.94 kB / 0.9845 GB, free: 21.49 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * 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 (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.0004793/0.2218, allocations: 0.675 MB / 0.9852 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.2224, allocations: 365.9 kB / 0.9855 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2224, allocations: 0 / 0.9855 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.2225, allocations: 39.98 kB / 0.9855 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2228, allocations: 20.3 kB / 0.9856 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.2237, allocations: 1.357 MB / 0.9869 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2239, allocations: 0.6965 MB / 0.9876 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.003e-05/0.224, allocations: 8.438 kB / 0.9876 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.224, allocations: 27.42 kB / 0.9876 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.2241, allocations: 0 / 0.9876 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.2505, allocations: 3.416 MB / 0.9909 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.2508, allocations: 184 kB / 0.9911 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/2.608, allocations: 0 / 0.9911 GB, free: 14.64 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)