Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Condensation,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",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.007737/0.007737, allocations: 102.4 kB / 15.73 MB, free: 5.969 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.001708/0.001708, allocations: 197.9 kB / 16.67 MB, free: 5.906 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437.1 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.278, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002795/0.2808, allocations: 1.5 MB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.2811, allocations: 151.5 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.2812, allocations: 0 / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.2812, allocations: 3.938 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.2813, allocations: 15.92 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.752e-05/0.2814, allocations: 15.97 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.2815, allocations: 47.8 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.2816, allocations: 7.984 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.943e-05/0.2816, allocations: 23.92 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.2817, allocations: 15.92 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2817, allocations: 4 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.2817, allocations: 4 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.2818, allocations: 19.86 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.2818, allocations: 15.94 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.083e-05/0.2819, allocations: 42.69 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2819, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2819, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2819, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005139/0.2824, allocations: 364.2 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2825, allocations: 11.97 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2825, allocations: 42.75 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.2826, allocations: 4.844 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2827, allocations: 172.3 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.2827, allocations: 384 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2827, allocations: 4.375 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.283, allocations: 70.2 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.283, allocations: 7.875 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.283, allocations: 0 / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.283, allocations: 0 / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.2833, allocations: 67.92 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.2837, allocations: 268.9 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.2839, allocations: 50.55 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.284, allocations: 48.84 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.284, allocations: 0 / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2841, allocations: 30.56 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2841, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004959/0.2846, allocations: 129.6 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2846, allocations: 55.41 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.2847, allocations: 105.8 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2847, allocations: 25.7 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.2848, allocations: 95.98 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.2848, allocations: 7.891 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2848, allocations: 21.72 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.2849, allocations: 314.8 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2851, allocations: 31.91 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2852, allocations: 35.95 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2855, allocations: 68.73 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2855, allocations: 3.938 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002836/0.2858, allocations: 101.6 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2858, allocations: 8 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2858, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2858, allocations: 4 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2859, allocations: 15.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.286, allocations: 4 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.286, allocations: 15.83 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.286, allocations: 7.938 kB / 1.17 GB, free: 3.043 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.805e-05/0.2861, allocations: 113.8 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2861, allocations: 4 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.2862, allocations: 11.89 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2862, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2862, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2862, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.2864, allocations: 169.6 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2864, allocations: 0 / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.2865, allocations: 20.3 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2865, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2865, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2865, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2865, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.2868, allocations: 211.2 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.2869, allocations: 77.11 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2869, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.287, allocations: 15.97 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.287, allocations: 8 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.287, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.2871, allocations: 95.56 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2871, allocations: 0 / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002116/0.2873, allocations: 8 kB / 1.171 GB, free: 2.223 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.0005551/0.2879, allocations: 0.7318 MB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.2882, allocations: 71.86 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2882, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2883, allocations: 35.97 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2886, allocations: 11.98 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.2891, allocations: 176.1 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2893, allocations: 0.6768 MB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.2894, allocations: 8 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.2894, allocations: 11.44 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.2895, allocations: 0 / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.3065, allocations: 1.777 MB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.451, allocations: 4.062 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mWat.mWat_flow,Q_flow.y,shr.y Variables in the result:Q_flow.duration,Q_flow.height,Q_flow.offset,Q_flow.startTime,Q_flow.y,mWat.Q_flow,mWat.SHR,mWat.mWat_flow,shr.duration,shr.height,shr.offset,shr.startTime,shr.y,time