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.001453/0.001453, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001274/0.001274, allocations: 195.9 kB / 16.25 MB, free: 6.629 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 / 239.9 MB, free: 4.527 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.307/2.307, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.488, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002249/0.4903, allocations: 1.566 MB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002051/0.4905, allocations: 151.5 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.4905, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.4906, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.4906, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.071e-05/0.4907, allocations: 15.98 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.4907, allocations: 43.8 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.4908, allocations: 15.98 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.4909, allocations: 15.92 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.4909, allocations: 27.91 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.491, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.491, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.491, allocations: 7.984 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.491, allocations: 19.88 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.503e-05/0.4911, allocations: 38.14 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4911, allocations: 3.984 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4911, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.4911, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 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.0004435/0.4916, allocations: 367.3 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.4916, allocations: 11.97 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.4916, allocations: 38.69 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.4917, allocations: 4.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.4918, allocations: 172.2 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.4918, allocations: 4.375 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.4918, allocations: 384 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.492, allocations: 70.22 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.492, allocations: 8.016 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.492, allocations: 4 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.4921, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.4923, allocations: 67.86 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.4926, allocations: 272.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.4928, allocations: 54.55 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.4929, allocations: 40.91 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.4929, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.493, allocations: 34.56 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.493, allocations: 3.984 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004654/0.4934, allocations: 133.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.4935, allocations: 51.41 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.4936, allocations: 121.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4936, allocations: 25.7 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.4936, allocations: 80.14 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.4936, allocations: 11.91 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.4937, allocations: 13.66 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.4938, allocations: 322.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4939, allocations: 27.97 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.494, allocations: 35.95 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.4943, allocations: 72.67 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4943, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002883/0.4946, allocations: 105.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4946, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.4946, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.4946, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4947, allocations: 15.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4947, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.4948, allocations: 11.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.4948, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 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 7.78e-05/0.4949, allocations: 126.3 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.4949, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.495, allocations: 7.906 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.495, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.495, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.495, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4951, allocations: 173.4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4951, allocations: 3.938 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.4952, allocations: 19.97 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4952, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4953, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.4953, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4953, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.4956, allocations: 191.4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.4956, allocations: 85.03 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4956, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4957, allocations: 15.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.4958, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4958, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.4958, allocations: 91.27 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4958, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002092/0.496, allocations: 7.906 kB / 1.022 GB, free: 13.56 MB / 0.7794 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.0005469/0.4966, allocations: 0.74 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.4969, allocations: 71.95 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4969, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.497, allocations: 39.91 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.4973, allocations: 11.98 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.4977, allocations: 172.3 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.4979, allocations: 0.6768 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4979, allocations: 8 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.498, allocations: 15.44 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.498, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.567/4.065, allocations: 1.559 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/4.065, allocations: 224.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/5.85, allocations: 2.5 kB / 1.025 GB, free: 10.09 MB / 0.7794 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) Reference file matches