Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",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.001418/0.001419, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001475/0.001475, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.774/1.774, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.557/3.557, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005235, allocations: 12 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408/1.408, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003007/1.412, allocations: 1.386 MB / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001641/1.413, allocations: 0.6815 MB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/1.413, allocations: 0 / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/1.413, allocations: 11.92 kB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/1.414, allocations: 27.88 kB / 0.9829 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/1.414, allocations: 63.81 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/1.414, allocations: 75.7 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/1.414, allocations: 29.27 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/1.414, allocations: 35.86 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/1.415, allocations: 43.83 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/1.415, allocations: 4 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/1.415, allocations: 99.77 kB / 0.9833 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/1.415, allocations: 19.92 kB / 0.9833 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/1.415, allocations: 41.64 kB / 0.9833 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/1.415, allocations: 99.75 kB / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.415, allocations: 0 / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.906e-06/1.415, allocations: 0 / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.415, allocations: 0 / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009371/1.416, allocations: 442.9 kB / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/1.416, allocations: 8.031 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.909e-05/1.416, allocations: 42.56 kB / 0.9839 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.416, allocations: 15.81 kB / 0.9839 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/1.417, allocations: 178.9 kB / 0.9841 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/1.417, allocations: 12 kB / 0.9841 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.417, allocations: 12 kB / 0.9841 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/1.417, allocations: 125.5 kB / 0.9842 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.417, allocations: 0 / 0.9842 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/1.417, allocations: 4 kB / 0.9842 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.417, allocations: 8 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/1.418, allocations: 131.9 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/1.419, allocations: 400.2 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/1.419, allocations: 126.6 kB / 0.9849 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/1.42, allocations: 0.5624 MB / 0.9854 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/1.42, allocations: 30.56 kB / 0.9854 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/1.42, allocations: 4 kB / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001003/1.421, allocations: 221.3 kB / 0.9857 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.421, allocations: 63.3 kB / 0.9857 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/1.422, allocations: 159.4 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.422, allocations: 25.7 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/1.422, allocations: 108.3 kB / 0.986 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/1.422, allocations: 27.56 kB / 0.986 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-06/1.422, allocations: 0 / 0.986 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.422, allocations: 322.8 kB / 0.9863 GB, free: 312 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/1.422, allocations: 51.95 kB / 0.9864 GB, free: 260 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/1.422, allocations: 68.27 kB / 0.9864 GB, free: 192 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/1.423, allocations: 51.97 kB / 0.9865 GB, free: 140 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.423, allocations: 0 / 0.9865 GB, free: 140 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005996/1.423, allocations: 161.5 kB / 0.9866 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/1.423, allocations: 4 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.423, allocations: 7.984 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.423, allocations: 0 / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/1.424, allocations: 35.92 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.424, allocations: 3.953 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/1.424, allocations: 31.83 kB / 0.9867 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/1.424, allocations: 0 / 0.9867 GB, free: 15.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001429/1.424, allocations: 117.8 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/1.424, allocations: 15.81 kB / 0.9869 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006911/1.425, allocations: 178.9 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.425, allocations: 4 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.425, allocations: 0 / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.425, allocations: 3.953 kB / 0.987 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/1.425, allocations: 205.6 kB / 0.9872 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.425, allocations: 0 / 0.9872 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/1.425, allocations: 27.97 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.425, allocations: 0 / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.425, allocations: 4 kB / 0.9873 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.425, allocations: 4 kB / 0.9873 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.425, allocations: 384 / 0.9873 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/1.426, allocations: 267.2 kB / 0.9875 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.426, allocations: 100.8 kB / 0.9876 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/1.426, allocations: 0 / 0.9876 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.426, allocations: 19.98 kB / 0.9876 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/1.427, allocations: 19.86 kB / 0.9877 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.427, allocations: 4 kB / 0.9877 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002828/1.427, allocations: 128.9 kB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.427, allocations: 0 / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004495/1.427, allocations: 20 kB / 0.9878 GB, free: 14.7 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001194/1.429, allocations: 0.8099 MB / 0.9886 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006131/1.429, allocations: 127.9 kB / 0.9887 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.429, allocations: 0 / 0.9887 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/1.43, allocations: 67.95 kB / 0.9888 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/1.43, allocations: 36.47 kB / 0.9888 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/1.432, allocations: 0.8055 MB / 0.9896 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/1.433, allocations: 0.7121 MB / 0.9903 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001215/1.433, allocations: 8.547 kB / 0.9903 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/1.433, allocations: 31.42 kB / 0.9903 GB, free: 12 MB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/1.433, allocations: 0 / 0.9903 GB, free: 12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/1.455, allocations: 2.673 MB / 0.9929 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/1.455, allocations: 214.2 kB / 0.9931 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/4.323, allocations: 112 / 0.9931 GB, free: 9.281 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat does not exist to compare? outputFormat=mat