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.005008/0.005008, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001391/0.001392, allocations: 187.8 kB / 16.67 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.256/2.256, allocations: 437.1 MB / 0.7106 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 63.89 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6148, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002227/0.617, allocations: 1.514 MB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.6172, allocations: 151.5 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.6173, allocations: 0 / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.6173, allocations: 7.922 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.6174, allocations: 7.938 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-05/0.6174, allocations: 11.98 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.6175, allocations: 55.77 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.6176, allocations: 8 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.6177, allocations: 19.86 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.6177, allocations: 23.92 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.6177, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.6178, allocations: 4 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.6178, allocations: 7.984 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.6178, allocations: 19.86 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.982e-05/0.6179, allocations: 47.67 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6179, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.041e-06/0.6179, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6179, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 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.0004743/0.6184, allocations: 363.2 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.6184, allocations: 8.625 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.6185, allocations: 34.75 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.6185, allocations: 12.88 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6186, allocations: 168.3 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.6186, allocations: 4.312 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.6186, allocations: 4.375 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.6188, allocations: 70.16 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6189, allocations: 3.938 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.6189, allocations: 4 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.6189, allocations: 0 / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.6192, allocations: 63.92 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.6195, allocations: 272.9 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.6197, allocations: 58.47 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.6198, allocations: 40.92 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.6198, allocations: 0 / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.6199, allocations: 30.56 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.6199, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004864/0.6204, allocations: 133.6 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6204, allocations: 55.41 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.6205, allocations: 105.8 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.6205, allocations: 25.7 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.6205, allocations: 96.03 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.6206, allocations: 7.891 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.6206, allocations: 17.7 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6207, allocations: 318.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.6209, allocations: 27.97 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.621, allocations: 35.95 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.6213, allocations: 73 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6213, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003063/0.6216, allocations: 97.61 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.6216, allocations: 8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.6216, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.6216, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.6218, allocations: 19.92 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-06/0.6218, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.6218, allocations: 23.86 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6219, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 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.994e-05/0.6219, allocations: 113.8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.622, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.622, allocations: 7.906 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.622, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.622, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.622, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.6222, allocations: 177.6 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6222, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.236e-05/0.6223, allocations: 15.98 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6223, allocations: 3.938 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6223, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6223, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6223, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.6227, allocations: 207.3 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.6227, allocations: 81.11 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.6227, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.6228, allocations: 11.98 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.6229, allocations: 3.984 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6229, allocations: 4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.6229, allocations: 87.28 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6229, allocations: 3.938 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001936/0.6231, allocations: 8 kB / 1.171 GB, free: 14.66 MB / 0.9044 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.0006155/0.6237, allocations: 0.7319 MB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.6241, allocations: 71.86 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6241, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6242, allocations: 39.95 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.6245, allocations: 7.219 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.6249, allocations: 168.2 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.6251, allocations: 0.6807 MB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.6252, allocations: 8.266 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.6252, allocations: 15.42 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.6252, allocations: 4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.978/4.603, allocations: 1.786 MB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/15.15, allocations: 5.078 kB / 1.174 GB, free: 11.2 MB / 0.9044 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=400 --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) Reference file matches