Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 196.8 kB / 16.64 MB, free: 6.449 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.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.001368/0.001368, allocations: 70.84 kB / 0.6718 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2169, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001958/0.2189, allocations: 0.7786 MB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2202, allocations: 1.129 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.2203, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.2203, allocations: 7.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.2204, allocations: 11.88 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.2208, allocations: 134.7 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.221, allocations: 143.7 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2211, allocations: 11.98 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.2212, allocations: 55.89 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.2213, allocations: 47.81 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.2214, allocations: 12 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.2214, allocations: 23.98 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.2215, allocations: 11.98 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.2216, allocations: 47.78 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.2217, allocations: 131.9 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2217, allocations: 3.938 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2217, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2218, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 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.0005951/0.2224, allocations: 417 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2224, allocations: 8.031 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2224, allocations: 34.75 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.2225, allocations: 16.84 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2226, allocations: 183.3 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2226, allocations: 384 / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.2227, allocations: 16.31 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.2229, allocations: 78.19 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.2229, allocations: 3.938 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.2229, allocations: 0 / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2229, allocations: 4 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2232, allocations: 71.86 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.2237, allocations: 332.6 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2239, allocations: 55.61 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.224, allocations: 44.91 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.2241, allocations: 0 / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.2244, allocations: 99.28 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.2244, allocations: 0 / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005822/0.2249, allocations: 165.5 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.225, allocations: 51.41 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.2251, allocations: 118.1 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.2252, allocations: 33.7 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.2252, allocations: 96.06 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2253, allocations: 19.75 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.2253, allocations: 29.7 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2254, allocations: 326.8 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.2257, allocations: 59.94 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.2259, allocations: 86.47 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.2262, allocations: 140.1 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2263, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005142/0.2268, allocations: 219.2 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.2268, allocations: 37.7 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2268, allocations: 0 / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2268, allocations: 4 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.227, allocations: 11.98 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.227, allocations: 7.984 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2272, allocations: 36.02 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2273, allocations: 8 kB / 0.7888 GB, free: 7.637 MB / 0.6075 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,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.2273, allocations: 117.8 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.2274, allocations: 11.91 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.2274, allocations: 8.359 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2274, allocations: 4 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2274, allocations: 0 / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2274, allocations: 4.312 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.2275, allocations: 181.7 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2276, allocations: 7.938 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2277, allocations: 23.91 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2277, allocations: 0 / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2277, allocations: 4 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2277, allocations: 0 / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2277, allocations: 0 / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.2281, allocations: 152.9 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.2281, allocations: 85.02 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2281, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.2282, allocations: 15.98 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.2283, allocations: 3.984 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2283, allocations: 4 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.2283, allocations: 95.27 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2283, allocations: 0 / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002166/0.2286, allocations: 35.94 kB / 0.7895 GB, free: 6.801 MB / 0.6075 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 (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.000685/0.2293, allocations: 0.6981 MB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.2297, allocations: 183.2 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2298, allocations: 3.938 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2299, allocations: 52.08 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.2302, allocations: 14.64 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.2323, allocations: 1.626 MB / 0.7921 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2325, allocations: 0.6885 MB / 0.7927 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.2326, allocations: 8 kB / 0.7927 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.2326, allocations: 27.42 kB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2326, allocations: 0 / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.2515, allocations: 2.665 MB / 0.7954 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.75, allocations: 12 kB / 0.7954 GB, free: 0.7617 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)