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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 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.001936/0.001936, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.364/2.364, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 60.69 kB / 0.8992 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2185, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002443/0.2209, allocations: 1.722 MB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000911/0.2219, allocations: 0.7369 MB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.2219, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.222, allocations: 15.86 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.222, allocations: 19.8 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2223, allocations: 91.7 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2224, allocations: 111.6 kB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2225, allocations: 45.03 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.2226, allocations: 39.86 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.2227, allocations: 55.7 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2227, allocations: 12 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2229, allocations: 107.9 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.2229, allocations: 23.92 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.223, allocations: 47.73 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.2232, allocations: 151.6 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2232, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2232, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2232, allocations: 0 / 1.056 GB, free: 5.066 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.0005244/0.2237, allocations: 435 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2238, allocations: 16.56 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.2238, allocations: 46.73 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.2238, allocations: 16.75 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2239, allocations: 190.1 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.2239, allocations: 8.375 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.224, allocations: 8.375 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.2242, allocations: 117.8 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2243, allocations: 0 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2243, allocations: 4 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2243, allocations: 4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2246, allocations: 115.8 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.2251, allocations: 404.2 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.2253, allocations: 106.5 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.2255, allocations: 60.86 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.2259, allocations: 0.5622 MB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2259, allocations: 34.56 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.2259, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005575/0.2265, allocations: 185.4 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2265, allocations: 55.34 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2267, allocations: 172 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2267, allocations: 29.7 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.2267, allocations: 100.1 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.2268, allocations: 31.55 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.2268, allocations: 21.72 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.2269, allocations: 318.8 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2271, allocations: 47.95 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.2272, allocations: 48.33 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.2275, allocations: 100.9 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2275, allocations: 0 / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003553/0.2279, allocations: 145.4 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2279, allocations: 7.938 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2279, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2279, allocations: 4 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2281, allocations: 35.91 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2281, allocations: 0 / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.2282, allocations: 19.83 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2282, allocations: 4 kB / 1.059 GB, free: 1.309 MB / 0.8106 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 6.595e-05/0.2283, allocations: 121.8 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2283, allocations: 11.84 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.2287, allocations: 154.9 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2287, allocations: 4 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2287, allocations: 4 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2287, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2289, allocations: 209.6 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2289, allocations: 4 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.229, allocations: 19.98 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.229, allocations: 3.938 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.229, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.2291, allocations: 7.984 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2291, allocations: 3.938 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.2295, allocations: 239.4 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.2296, allocations: 96.94 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2296, allocations: 7.922 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2297, allocations: 15.98 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.2297, allocations: 11.98 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2298, allocations: 0 / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.83e-05/0.2298, allocations: 128 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2298, allocations: 0 / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002223/0.2301, allocations: 20 kB / 1.06 GB, free: 172 kB / 0.8106 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.0006501/0.2307, allocations: 0.7825 MB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.2311, allocations: 115.8 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2311, allocations: 0 / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.2313, allocations: 59.89 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2316, allocations: 32.47 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.2336, allocations: 1.767 MB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.2338, allocations: 0.7002 MB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.2338, allocations: 16.55 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.2339, allocations: 27.44 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2339, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.31, allocations: 3.1 MB / 1.067 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.83, allocations: 10.67 kB / 1.067 GB, free: 9.578 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