Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001233/0.001233, allocations: 184.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.6307 GB, free: 9.906 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.0008188/0.0008188, allocations: 93.8 kB / 0.744 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004171, allocations: 13.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2202, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0008622/0.2212, allocations: 482.6 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2223, allocations: 1.118 MB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.2224, allocations: 0 / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.2224, allocations: 3.938 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.2225, allocations: 15.91 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.2229, allocations: 110.7 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.223, allocations: 111.8 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.2231, allocations: 7.984 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.2232, allocations: 43.89 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.2233, allocations: 43.83 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.2233, allocations: 8 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.2234, allocations: 15.98 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2234, allocations: 7.984 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.2234, allocations: 41.64 kB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.846e-05/0.2235, allocations: 92.02 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2235, allocations: 0 / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2235, allocations: 3.938 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2236, allocations: 3.938 kB / 0.9817 GB, free: 25.43 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.0005282/0.2241, allocations: 412.8 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2241, allocations: 12.02 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2242, allocations: 38.56 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.2242, allocations: 7.906 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.534e-05/0.2243, allocations: 178.9 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2244, allocations: 4 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.2244, allocations: 8 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.2246, allocations: 89.64 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2247, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2247, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2247, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.225, allocations: 95.91 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.2253, allocations: 328.6 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2255, allocations: 70.53 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.2257, allocations: 56.92 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2257, allocations: 3.984 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.2259, allocations: 103.4 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2259, allocations: 0 / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005497/0.2265, allocations: 197.4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.2265, allocations: 59.34 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.2266, allocations: 119.7 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2266, allocations: 37.7 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.2267, allocations: 92.12 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.2267, allocations: 15.75 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.2267, allocations: 4 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.2268, allocations: 318.8 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.227, allocations: 71.95 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2272, allocations: 90.52 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.2274, allocations: 101.6 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2274, allocations: 0 / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004799/0.2279, allocations: 235.2 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.2279, allocations: 37.7 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2279, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.228, allocations: 8.062 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2281, allocations: 27.91 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2281, allocations: 80 / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.2283, allocations: 56 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.2284, allocations: 15.92 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 6.673e-05/0.2284, allocations: 121.8 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2285, allocations: 7.906 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.2285, allocations: 8.375 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2285, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2285, allocations: 4 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2285, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.459e-05/0.2286, allocations: 185.6 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2286, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/0.2287, allocations: 27.92 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2287, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2287, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2287, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2287, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.2291, allocations: 177.2 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.2291, allocations: 81.02 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2291, allocations: 4.062 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.2292, allocations: 31.95 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.2293, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2293, allocations: 7.984 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.2293, allocations: 93.41 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2293, allocations: 0 / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001899/0.2295, allocations: 31.92 kB / 0.9852 GB, free: 21.48 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005655/0.2301, allocations: 0.7138 MB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.2305, allocations: 211.2 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2306, allocations: 8.125 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2307, allocations: 55.95 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.231, allocations: 12 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2322, allocations: 0.7232 MB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2323, allocations: 0.6923 MB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.2324, allocations: 4.172 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.2324, allocations: 19.44 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2324, allocations: 4 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.2452, allocations: 2.286 MB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001213/0.2454, allocations: 204.5 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.745, allocations: 4 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)