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.0009466/0.0009465, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001072/0.001072, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 223.2 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.63/2.63, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004305, allocations: 11.98 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8233, allocations: 146.8 MB / 0.9812 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001722/0.8251, allocations: 1.409 MB / 0.9825 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.8261, allocations: 0.6736 MB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.8261, allocations: 0 / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.8262, allocations: 11.92 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.8262, allocations: 15.86 kB / 0.9832 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.8265, allocations: 71.8 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.8266, allocations: 103.5 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.8268, allocations: 33.27 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.8268, allocations: 39.84 kB / 0.9834 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.8269, allocations: 39.78 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.8269, allocations: 4 kB / 0.9835 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.8271, allocations: 95.89 kB / 0.9836 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.8271, allocations: 15.91 kB / 0.9836 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.8272, allocations: 45.64 kB / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.8273, allocations: 103.8 kB / 0.9837 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8273, allocations: 4 kB / 0.9837 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8273, allocations: 0 / 0.9837 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.8274, allocations: 0 / 0.9837 GB, free: 3.535 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.0005312/0.8279, allocations: 435 kB / 0.9842 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.8279, allocations: 8.031 kB / 0.9842 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.828, allocations: 46.55 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.828, allocations: 15.81 kB / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.8281, allocations: 175.7 kB / 0.9844 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8282, allocations: 8 kB / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.8282, allocations: 8 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.8285, allocations: 135 kB / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8285, allocations: 0 / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.8285, allocations: 4 kB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8285, allocations: 4 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.8289, allocations: 127.9 kB / 0.9847 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.8294, allocations: 408.1 kB / 0.9851 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.8297, allocations: 118.5 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.8299, allocations: 72.86 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.8304, allocations: 0.5661 MB / 0.9858 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.8304, allocations: 34.5 kB / 0.9858 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.8305, allocations: 4 kB / 0.9858 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006003/0.8311, allocations: 225.3 kB / 0.986 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.8311, allocations: 51.41 kB / 0.9861 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.8312, allocations: 155.4 kB / 0.9862 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.8313, allocations: 33.7 kB / 0.9863 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.8313, allocations: 104.3 kB / 0.9864 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.8314, allocations: 31.55 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.8314, allocations: 0 / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8315, allocations: 326.8 kB / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.8317, allocations: 55.97 kB / 0.9868 GB, free: 92 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.8318, allocations: 55.95 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.832, allocations: 56.02 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.832, allocations: 0 / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003738/0.8324, allocations: 169.4 kB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.8324, allocations: 4 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8324, allocations: 0.6562 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.8324, allocations: 0 / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.8326, allocations: 31.97 kB / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8326, allocations: 3.953 kB / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.8327, allocations: 27.83 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.8327, allocations: 4 kB / 0.9871 GB, free: 15.74 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 9.417e-05/0.8328, allocations: 121.8 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.8329, allocations: 19.73 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.8333, allocations: 171 kB / 0.9874 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8333, allocations: 8 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8333, allocations: 7.938 kB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8334, allocations: 3.953 kB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.8336, allocations: 209.6 kB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8336, allocations: 0 / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.8337, allocations: 31.92 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8337, allocations: 0 / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8337, allocations: 4 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8338, allocations: 8 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8338, allocations: 3.984 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.8342, allocations: 259.3 kB / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.8342, allocations: 100.8 kB / 0.988 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.8343, allocations: 0 / 0.988 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.8344, allocations: 19.97 kB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.8345, allocations: 11.98 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.8345, allocations: 4 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.618e-05/0.8346, allocations: 124.9 kB / 0.9882 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8346, allocations: 0 / 0.9882 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002509/0.8348, allocations: 24 kB / 0.9882 GB, free: 14.53 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.0007424/0.8356, allocations: 0.8062 MB / 0.989 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.836, allocations: 131.8 kB / 0.9891 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.836, allocations: 0 / 0.9891 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.8362, allocations: 63.89 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.8366, allocations: 27.98 kB / 0.9892 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.838, allocations: 0.8174 MB / 0.99 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.8382, allocations: 0.7043 MB / 0.9907 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.53e-05/0.8383, allocations: 8.547 kB / 0.9907 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.8383, allocations: 31.42 kB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.8384, allocations: 4 kB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.8507, allocations: 2.69 MB / 0.9933 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.8509, allocations: 215.2 kB / 0.9935 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.604, allocations: 0 / 0.9935 GB, free: 9.113 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