Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_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.0009934/0.0009935, allocations: 97.41 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.006105/0.006105, allocations: 169.3 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003786, allocations: 15.25 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001489/0.2758, allocations: 1.237 MB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.276, allocations: 147.5 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.2761, allocations: 0 / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.2761, allocations: 3.984 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.2762, allocations: 11.92 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.497e-05/0.2762, allocations: 11.98 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.2763, allocations: 43.8 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.2764, allocations: 11.98 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.2765, allocations: 15.94 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.2765, allocations: 19.91 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2765, allocations: 4 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.2766, allocations: 4 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.2766, allocations: 4 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.2766, allocations: 45.56 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.826e-05/0.2767, allocations: 40.09 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2767, allocations: 0 / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2767, allocations: 3.938 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2767, allocations: 0 / 1.06 GB, free: 3.23 MB / 0.8106 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.0004673/0.2772, allocations: 375.3 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2772, allocations: 11.97 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.445e-05/0.2773, allocations: 34.75 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.2773, allocations: 0.9375 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2774, allocations: 172.3 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.2774, allocations: 384 / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2774, allocations: 8.359 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.2777, allocations: 82.2 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2777, allocations: 3.938 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2777, allocations: 0 / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2777, allocations: 4 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.278, allocations: 87.86 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.2784, allocations: 272.9 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.2786, allocations: 58.55 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2787, allocations: 52.91 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2788, allocations: 0 / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2788, allocations: 34.56 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2788, allocations: 0 / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005327/0.2793, allocations: 169.4 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2794, allocations: 51.41 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.2795, allocations: 113.8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2795, allocations: 25.7 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.2795, allocations: 92.06 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2795, allocations: 7.844 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.2796, allocations: 21.72 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.2797, allocations: 310.8 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2798, allocations: 43.95 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.28, allocations: 43.97 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2803, allocations: 96.66 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2803, allocations: 0 / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003254/0.2806, allocations: 121.5 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2806, allocations: 4 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2806, allocations: 4 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2806, allocations: 4 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2808, allocations: 23.97 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2808, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.2809, allocations: 19.98 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.2809, allocations: 4 kB / 1.063 GB, free: 0.6875 MB / 0.8106 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.738e-05/0.2809, allocations: 111.8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.281, allocations: 8 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.281, allocations: 11.84 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.281, allocations: 3.984 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.281, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.281, allocations: 3.938 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2812, allocations: 173.6 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2812, allocations: 336 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.2813, allocations: 19.98 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2813, allocations: 4 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.2813, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2813, allocations: 7.984 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2813, allocations: 0 / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.2817, allocations: 223.3 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.2817, allocations: 77.11 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2818, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2819, allocations: 19.98 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.2819, allocations: 7.984 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2819, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.282, allocations: 87.27 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.382e-06/0.282, allocations: 3.938 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002049/0.2822, allocations: 11.94 kB / 1.063 GB, free: 15.83 MB / 0.8262 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.0005928/0.2828, allocations: 0.7514 MB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.2831, allocations: 91.92 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2831, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2833, allocations: 51.89 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2836, allocations: 8 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.284, allocations: 182.2 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.2842, allocations: 0.6809 MB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.2842, allocations: 4 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.2843, allocations: 15.44 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2843, allocations: 0 / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.075/2.359, allocations: 1.445 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/2.36, allocations: 231.6 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/4.406, allocations: 1.375 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches