Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001409/0.001409, allocations: 109.2 kB / 16.45 MB, free: 6.508 MB / 14.72 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.002086/0.002086, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 68.22 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3529, allocations: 176.1 MB / 1.321 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003151/0.356, allocations: 1.517 MB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.3563, allocations: 155.5 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.3563, allocations: 0 / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.3564, allocations: 0 / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.3564, allocations: 11.86 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.887e-05/0.3565, allocations: 15.98 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3566, allocations: 43.84 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3567, allocations: 11.94 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.3568, allocations: 23.92 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.3569, allocations: 23.91 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3569, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-06/0.3569, allocations: 4 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.3569, allocations: 8 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.357, allocations: 23.86 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.3571, allocations: 39.81 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3571, allocations: 0 / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3571, allocations: 0 / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3571, allocations: 0 / 1.323 GB, free: 1.395 MB / 1.014 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.0006287/0.3577, allocations: 371.2 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3578, allocations: 15.98 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.3578, allocations: 42.69 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.3578, allocations: 4.938 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.358, allocations: 164.3 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.358, allocations: 4.375 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.358, allocations: 384 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3583, allocations: 74.2 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3583, allocations: 7.922 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3583, allocations: 3.938 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3583, allocations: 4 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.3586, allocations: 59.94 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.359, allocations: 276.8 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.3592, allocations: 50.53 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3594, allocations: 36.92 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3594, allocations: 0 / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3594, allocations: 42.55 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3594, allocations: 0 / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005591/0.36, allocations: 129.5 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.36, allocations: 51.41 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.3601, allocations: 109.8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3601, allocations: 25.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.3602, allocations: 92.12 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3602, allocations: 11.84 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.3602, allocations: 17.72 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3604, allocations: 310.8 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3605, allocations: 31.95 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3607, allocations: 35.97 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3609, allocations: 68.72 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3609, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003537/0.3613, allocations: 101.6 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3613, allocations: 8 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3613, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3613, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3615, allocations: 23.97 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3615, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.3616, allocations: 7.984 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3616, allocations: 8 kB / 1.325 GB, free: 15.01 MB / 1.029 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.393e-05/0.3617, allocations: 113.7 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3617, allocations: 7.953 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.3617, allocations: 7.906 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3617, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3617, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3617, allocations: 3.984 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3619, allocations: 169.6 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3619, allocations: 3.938 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.362, allocations: 23.92 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.362, allocations: 4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.362, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.362, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.362, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.3624, allocations: 207.7 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3625, allocations: 81.06 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3625, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3626, allocations: 11.98 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3626, allocations: 7.984 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3626, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.3627, allocations: 83.27 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002218/0.3629, allocations: 12 kB / 1.325 GB, free: 14.18 MB / 1.029 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.0007393/0.3637, allocations: 0.7319 MB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.364, allocations: 71.92 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.364, allocations: 0 / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3642, allocations: 39.89 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3645, allocations: 4 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.365, allocations: 176.1 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3653, allocations: 0.6807 MB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.3654, allocations: 7.984 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3654, allocations: 11.44 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3654, allocations: 0 / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.3905, allocations: 1.797 MB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.251, allocations: 9.531 kB / 1.329 GB, free: 10.71 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.897475332953036]