Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.0009045/0.0009045, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005784/0.005784, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 20 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4978, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.001172/0.499, allocations: 1.247 MB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.4992, allocations: 142.8 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.4993, allocations: 0.9375 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.4993, allocations: 3.938 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.4993, allocations: 9.344 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.674e-05/0.4994, allocations: 9.453 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.4995, allocations: 42.42 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.4995, allocations: 17.25 kB / 0.9566 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.4996, allocations: 17.64 kB / 0.9566 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.4996, allocations: 18.61 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.4997, allocations: 0.9375 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.4997, allocations: 2.344 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.4997, allocations: 12.98 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.4997, allocations: 37.55 kB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.82e-05/0.4998, allocations: 34.88 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4998, allocations: 0 / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4998, allocations: 0 / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.4998, allocations: 1.375 kB / 0.9567 GB, free: 6.453 MB / 0.7169 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.0003646/0.5002, allocations: 371 kB / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.5002, allocations: 13.38 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.418e-05/0.5003, allocations: 34.75 kB / 0.9571 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.5003, allocations: 3.562 kB / 0.9571 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.026e-05/0.5003, allocations: 174.7 kB / 0.9573 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.5004, allocations: 5.656 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.5004, allocations: 1.625 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.5006, allocations: 84.91 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.5006, allocations: 0 / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.5006, allocations: 4.906 kB / 0.9574 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.5006, allocations: 1.062 kB / 0.9574 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.5009, allocations: 85.83 kB / 0.9575 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.5012, allocations: 279.9 kB / 0.9578 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.5014, allocations: 66.28 kB / 0.9578 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.5015, allocations: 53.8 kB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.5015, allocations: 0 / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.5015, allocations: 32.34 kB / 0.9579 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.5015, allocations: 0 / 0.9579 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004913/0.502, allocations: 170.5 kB / 0.9581 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.5021, allocations: 53.12 kB / 0.9581 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.5021, allocations: 107.4 kB / 0.9582 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.5021, allocations: 25.7 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.5022, allocations: 85.23 kB / 0.9583 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.5022, allocations: 5.344 kB / 0.9583 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.5022, allocations: 18.78 kB / 0.9583 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.5022, allocations: 324.3 kB / 0.9587 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5024, allocations: 39.47 kB / 0.9587 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.5025, allocations: 47.45 kB / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5028, allocations: 86.83 kB / 0.9588 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5028, allocations: 0 / 0.9588 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003073/0.5031, allocations: 129 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.5031, allocations: 4.781 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.5031, allocations: 0 / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.5031, allocations: 1.406 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5033, allocations: 23.14 kB / 0.959 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.5033, allocations: 4 kB / 0.959 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.5034, allocations: 19.33 kB / 0.959 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5034, allocations: 5.594 kB / 0.959 GB, free: 4.414 MB / 0.7169 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 4.001e-05/0.5034, allocations: 115.4 kB / 0.9591 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.5034, allocations: 7.688 kB / 0.9591 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.5035, allocations: 7.906 kB / 0.9591 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5035, allocations: 0 / 0.9591 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5035, allocations: 1.312 kB / 0.9591 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5035, allocations: 0 / 0.9591 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.5036, allocations: 169 kB / 0.9593 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5036, allocations: 0 / 0.9593 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.5037, allocations: 23.31 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5037, allocations: 5.938 kB / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5037, allocations: 0 / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.5037, allocations: 0 / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5037, allocations: 0 / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.504, allocations: 228.1 kB / 0.9595 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.5041, allocations: 83.38 kB / 0.9596 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.5041, allocations: 0 / 0.9596 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5042, allocations: 19.08 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.5042, allocations: 2 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.5042, allocations: 5.141 kB / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.309e-05/0.5042, allocations: 90.05 kB / 0.9597 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5042, allocations: 0 / 0.9597 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002006/0.5045, allocations: 10.75 kB / 0.9597 GB, free: 3.68 MB / 0.7169 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.0004566/0.5049, allocations: 0.7602 MB / 0.9605 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.5052, allocations: 89.67 kB / 0.9606 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5052, allocations: 0 / 0.9606 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.5054, allocations: 46.22 kB / 0.9606 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.5056, allocations: 17.42 kB / 0.9606 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.506, allocations: 184.4 kB / 0.9608 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.5061, allocations: 0.6812 MB / 0.9615 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.5061, allocations: 5.375 kB / 0.9615 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.5061, allocations: 16.8 kB / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5061, allocations: 0 / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.347/1.853, allocations: 1.437 MB / 0.9629 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.853, allocations: 230.7 kB / 0.9631 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/3.538, allocations: 6.5 kB / 0.9631 GB, free: 1.109 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches