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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 105.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 75.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7851, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002904/0.788, allocations: 1.525 MB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.7883, allocations: 150.4 kB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.7883, allocations: 1.125 kB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.7884, allocations: 3.938 kB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.7884, allocations: 10.09 kB / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.035e-05/0.7885, allocations: 13.11 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.7886, allocations: 53.89 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.7887, allocations: 11.7 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.7887, allocations: 14.33 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.7888, allocations: 26.56 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.7888, allocations: 7.375 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-06/0.7888, allocations: 3.281 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.7888, allocations: 5.062 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.7889, allocations: 20.42 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.789, allocations: 45.06 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.789, allocations: 0 / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/0.789, allocations: 1.062 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5e-06/0.789, allocations: 0 / 1.215 GB, free: 2.418 MB / 0.92 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.0005626/0.7895, allocations: 366 kB / 1.215 GB, free: 2.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7896, allocations: 13.7 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.7896, allocations: 32.06 kB / 1.215 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.7896, allocations: 10.64 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.7898, allocations: 167.6 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.7898, allocations: 5.375 kB / 1.215 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.7898, allocations: 1.5 kB / 1.215 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.7901, allocations: 71.45 kB / 1.215 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7901, allocations: 5.125 kB / 1.215 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.7901, allocations: 0 / 1.215 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7901, allocations: 1.156 kB / 1.215 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.7904, allocations: 66.44 kB / 1.215 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.7908, allocations: 271.4 kB / 1.216 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.791, allocations: 59.84 kB / 1.216 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.7911, allocations: 34.8 kB / 1.216 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.7911, allocations: 1.094 kB / 1.216 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.7912, allocations: 39.58 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7912, allocations: 3.938 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004848/0.7916, allocations: 126.7 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.7917, allocations: 51.41 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.7918, allocations: 107.7 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7918, allocations: 30.83 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.7918, allocations: 89.33 kB / 1.216 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.7919, allocations: 9.203 kB / 1.216 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.7919, allocations: 16.25 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.792, allocations: 316 kB / 1.217 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.7922, allocations: 33.64 kB / 1.217 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.7923, allocations: 38.3 kB / 1.217 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.7925, allocations: 78.28 kB / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7925, allocations: 0 / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002965/0.7928, allocations: 94.12 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7929, allocations: 4.594 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.7929, allocations: 1 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7929, allocations: 4 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.793, allocations: 18.38 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.793, allocations: 0.875 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.7931, allocations: 14.41 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.7931, allocations: 1.094 kB / 1.217 GB, free: 412 kB / 0.92 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 8.636e-05/0.7931, allocations: 123.8 kB / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.7932, allocations: 2.156 kB / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.7932, allocations: 5.031 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7932, allocations: 5.062 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7932, allocations: 0 / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.7932, allocations: 1.094 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.7934, allocations: 172.7 kB / 1.217 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7934, allocations: 0 / 1.217 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.7935, allocations: 14.45 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7935, allocations: 1.094 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.7935, allocations: 0 / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7935, allocations: 5.062 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7935, allocations: 0 / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.7939, allocations: 204 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.7939, allocations: 78.58 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.7939, allocations: 0.6875 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.794, allocations: 19.05 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.7941, allocations: 10.08 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.7941, allocations: 0 / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.7941, allocations: 89.83 kB / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7941, allocations: 0 / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002088/0.7944, allocations: 11.75 kB / 1.218 GB, free: 15.66 MB / 0.9356 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.0006885/0.795, allocations: 0.7321 MB / 1.218 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.7953, allocations: 69.92 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7954, allocations: 4 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.7955, allocations: 39.95 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.7958, allocations: 13.3 kB / 1.218 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.7962, allocations: 166.6 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.7965, allocations: 0.6846 MB / 1.219 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.7966, allocations: 9.094 kB / 1.219 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.7966, allocations: 12.5 kB / 1.219 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.7966, allocations: 1.094 kB / 1.219 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.8202, allocations: 1.773 MB / 1.221 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.612, allocations: 16.73 kB / 1.221 GB, free: 13.08 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.342728740070015]