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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00481/0.00481, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001346/0.001346, allocations: 197 kB / 16.68 MB, free: 5.93 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.395/2.395, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 69.25 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002403/0.2472, allocations: 1.724 MB / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.2482, allocations: 0.7248 MB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2482, allocations: 4 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.2483, allocations: 11.86 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.2484, allocations: 23.73 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2487, allocations: 95.7 kB / 1.244 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2488, allocations: 107.6 kB / 1.245 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.2489, allocations: 37.11 kB / 1.245 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.249, allocations: 43.84 kB / 1.245 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.249, allocations: 51.75 kB / 1.245 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2491, allocations: 12 kB / 1.245 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.2493, allocations: 103.9 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2493, allocations: 27.91 kB / 1.245 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.2493, allocations: 51.66 kB / 1.245 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.2496, allocations: 155.4 kB / 1.245 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2496, allocations: 3.938 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2496, allocations: 7.938 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2496, allocations: 0 / 1.245 GB, free: 5.73 MB / 0.9669 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.0005657/0.2502, allocations: 446.8 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2502, allocations: 8.031 kB / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.2502, allocations: 42.73 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2503, allocations: 16.84 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2504, allocations: 192.2 kB / 1.246 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2504, allocations: 4.375 kB / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.2504, allocations: 8.375 kB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2507, allocations: 125.6 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2508, allocations: 4 kB / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2508, allocations: 4 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2508, allocations: 0 / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.2511, allocations: 115.8 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.2516, allocations: 396.4 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2519, allocations: 102.6 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2521, allocations: 64.81 kB / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.2525, allocations: 0.5622 MB / 1.247 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2526, allocations: 30.56 kB / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2526, allocations: 0 / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005791/0.2532, allocations: 193.4 kB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2532, allocations: 55.41 kB / 1.247 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2533, allocations: 168.5 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2533, allocations: 25.7 kB / 1.247 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.2534, allocations: 104.1 kB / 1.248 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.2534, allocations: 35.73 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2535, allocations: 25.7 kB / 1.248 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2536, allocations: 318.8 kB / 1.248 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.2538, allocations: 43.97 kB / 1.248 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2539, allocations: 48.27 kB / 1.248 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2542, allocations: 100.8 kB / 1.248 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2542, allocations: 4 kB / 1.248 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003585/0.2546, allocations: 141.4 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2546, allocations: 17.8 kB / 1.248 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2546, allocations: 4 kB / 1.248 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2547, allocations: 0 / 1.248 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2548, allocations: 23.92 kB / 1.248 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2548, allocations: 4 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.359e-05/0.2549, allocations: 23.88 kB / 1.248 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2549, allocations: 0 / 1.248 GB, free: 1.969 MB / 0.9669 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 8.435e-05/0.255, allocations: 118.4 kB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.2551, allocations: 23.88 kB / 1.248 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.2555, allocations: 154.9 kB / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2555, allocations: 0 / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2555, allocations: 0 / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2555, allocations: 0 / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2557, allocations: 205.6 kB / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2557, allocations: 4 kB / 1.249 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.2558, allocations: 27.97 kB / 1.249 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2558, allocations: 8.312 kB / 1.249 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2559, allocations: 4 kB / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2559, allocations: 0 / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2559, allocations: 0 / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.2563, allocations: 243.3 kB / 1.249 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.2563, allocations: 100.9 kB / 1.249 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2564, allocations: 4 kB / 1.249 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2565, allocations: 11.98 kB / 1.249 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.2565, allocations: 11.92 kB / 1.249 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.2565, allocations: 4 kB / 1.249 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.2566, allocations: 120 kB / 1.249 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2566, allocations: 4 kB / 1.249 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002196/0.2569, allocations: 27.94 kB / 1.249 GB, free: 0.8164 MB / 0.9669 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.0006967/0.2576, allocations: 0.7903 MB / 1.25 GB, free: 0 / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.2579, allocations: 99.86 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.258, allocations: 0 / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.2581, allocations: 55.95 kB / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2585, allocations: 40.45 kB / 1.25 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.2605, allocations: 1.781 MB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2608, allocations: 0.6963 MB / 1.253 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.039e-05/0.2608, allocations: 12.55 kB / 1.253 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.2609, allocations: 35.42 kB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of SimCode: time 1.9e-07/0.2609, allocations: 0 / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.673/5.934, allocations: 3.144 MB / 1.256 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/19.44, allocations: 0 / 1.256 GB, free: 10.2 MB / 0.9825 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=400 --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