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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008093/0.0008093, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.897/0.897, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.998e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003234/0.003264, allocations: 1.506 MB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.003608, allocations: 140.4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.003659, allocations: 3.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.003696, allocations: 7.922 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.003763, allocations: 15.86 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.003865, allocations: 15.92 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.003978, allocations: 47.84 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.004121, allocations: 8 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.004253, allocations: 23.92 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.004313, allocations: 19.97 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.004345, allocations: 4 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.004387, allocations: 4 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.004419, allocations: 11.98 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.004472, allocations: 15.92 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.004634, allocations: 35.89 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004638, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.134e-06/0.004641, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.004649, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 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.0006092/0.005258, allocations: 294.2 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.005314, allocations: 8.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.00535, allocations: 30.75 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.005376, allocations: 12.88 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.005473, allocations: 117.6 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005484, allocations: 384 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.005495, allocations: 4.359 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.005668, allocations: 70.22 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.005673, allocations: 192 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.005679, allocations: 4.375 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005683, allocations: 4.125 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.005826, allocations: 63.92 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.006242, allocations: 232 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.00636, allocations: 54.53 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.006434, allocations: 40.92 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.006444, allocations: 3.938 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.006464, allocations: 34.56 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.006464, allocations: 0 / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003008/0.006765, allocations: 137.5 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.006796, allocations: 55.41 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.006866, allocations: 110.1 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.006875, allocations: 25.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.006913, allocations: 84.14 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.00693, allocations: 11.94 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.006954, allocations: 13.72 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.00703, allocations: 318.8 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.007101, allocations: 35.95 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.007168, allocations: 31.97 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.007295, allocations: 68.78 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007297, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000157/0.007454, allocations: 109.8 kB / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007469, allocations: 5.719 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.007474, allocations: 0 / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007486, allocations: 0 / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.007559, allocations: 15.98 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.007565, allocations: 4.062 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.007601, allocations: 15.97 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.007608, allocations: 3.984 kB / 1.003 GB, free: 9.449 MB / 0.9636 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 5.54e-05/0.007663, allocations: 117.8 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.007676, allocations: 11.89 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.007697, allocations: 11.94 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007698, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.007703, allocations: 4 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007706, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.555e-05/0.007802, allocations: 128.8 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007803, allocations: 3.984 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.00784, allocations: 15.92 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.007841, allocations: 7.938 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007848, allocations: 4 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.007848, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007849, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.008028, allocations: 187.5 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.008038, allocations: 15.88 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.008055, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.008104, allocations: 15.98 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.008143, allocations: 4 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.008146, allocations: 3.984 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.008178, allocations: 83.28 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008178, allocations: 0 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001387/0.008316, allocations: 12 kB / 1.004 GB, free: 8.758 MB / 0.9636 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.0003619/0.008678, allocations: 0.724 MB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.008856, allocations: 71.92 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008857, allocations: 0 / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.008925, allocations: 35.91 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.009193, allocations: 19.92 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.009537, allocations: 158.4 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/0.009579, allocations: 75.17 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.009606, allocations: 0 / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.009649, allocations: 20.48 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.009649, allocations: 4 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02332, allocations: 2.493 MB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/6.622, allocations: 2.031 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=1.44 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.764726127497852]