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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008596/0.0008596, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0055/0.0055, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 9.062 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001513/0.2383, allocations: 1.447 MB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009028/0.2392, allocations: 0.7211 MB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2393, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.2393, allocations: 3.938 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.2394, allocations: 23.84 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2396, allocations: 75.8 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2397, allocations: 103.6 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.2398, allocations: 37.03 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.2399, allocations: 31.86 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.24, allocations: 47.7 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.24, allocations: 4 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.2402, allocations: 111.8 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.2402, allocations: 15.92 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.2402, allocations: 69.44 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.2404, allocations: 139.6 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2404, allocations: 0 / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2404, allocations: 4 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2404, allocations: 0 / 1.062 GB, free: 2.039 MB / 0.8106 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.0004841/0.2409, allocations: 427.2 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.241, allocations: 15.97 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.241, allocations: 46.73 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.241, allocations: 16.75 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.2411, allocations: 180.1 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2412, allocations: 8.375 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2412, allocations: 8.359 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.2415, allocations: 137.7 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.2415, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2415, allocations: 4 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2415, allocations: 4 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.2419, allocations: 127.9 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.2423, allocations: 408.2 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2426, allocations: 114.5 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.2428, allocations: 76.86 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.2432, allocations: 0.5622 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2432, allocations: 30.56 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.2432, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000601/0.2438, allocations: 233.2 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2439, allocations: 55.41 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.244, allocations: 160 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.244, allocations: 33.7 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.2441, allocations: 100.1 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2441, allocations: 35.55 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.2441, allocations: 13.72 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.2442, allocations: 322.8 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2444, allocations: 51.95 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2446, allocations: 59.91 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.2449, allocations: 124.8 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2449, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003809/0.2453, allocations: 161.5 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2453, allocations: 11.94 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2453, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.2453, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2455, allocations: 32.64 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2455, allocations: 3.984 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.865e-05/0.2456, allocations: 23.83 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2456, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.2457, allocations: 125.8 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.2457, allocations: 11.84 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.2461, allocations: 178.9 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2462, allocations: 3.938 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2462, allocations: 8 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2462, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2463, allocations: 213.5 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2464, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2465, allocations: 31.98 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2465, allocations: 3.938 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.2465, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2465, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2465, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.2469, allocations: 263.3 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.247, allocations: 100.8 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.247, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2471, allocations: 19.97 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.2472, allocations: 8 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2472, allocations: 3.984 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.944e-05/0.2473, allocations: 120 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2473, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002258/0.2475, allocations: 32 kB / 1.066 GB, free: 12.93 MB / 0.8262 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 (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.0006488/0.2482, allocations: 0.8005 MB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.2485, allocations: 135.8 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2486, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.2487, allocations: 71.89 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2491, allocations: 23.98 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.2511, allocations: 1.844 MB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2513, allocations: 0.7043 MB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.462e-05/0.2513, allocations: 12.55 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.2514, allocations: 31.42 kB / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of SimCode: time 2.535e-06/0.2514, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.701/3.953, allocations: 2.743 MB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/3.953, allocations: 228.1 kB / 1.073 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/6.386, allocations: 1.125 kB / 1.073 GB, free: 6.387 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches