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.0008147/0.0008147, 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.000833/0.000833, allocations: 165.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.8677/0.8677, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.981 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.119e-05, allocations: 6.219 kB / 0.981 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002508/0.002529, allocations: 1.511 MB / 0.9825 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.002805, allocations: 143.6 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.002846, allocations: 3.938 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.002875, allocations: 3.938 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.002928, allocations: 11.88 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 8.325e-05/0.003011, allocations: 11.97 kB / 0.9826 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.003104, allocations: 47.86 kB / 0.9827 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003213, allocations: 15.97 kB / 0.9827 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.003299, allocations: 23.92 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.00334, allocations: 11.98 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.003364, allocations: 4 kB / 0.9827 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.003372, allocations: 8 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.003392, allocations: 11.92 kB / 0.9828 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.003418, allocations: 12 kB / 0.9828 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.003516, allocations: 43.86 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003518, allocations: 0 / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003519, allocations: 3.938 kB / 0.9828 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003523, allocations: 0 / 0.9828 GB, free: 15.52 MB / 0.9011 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.0004367/0.00396, allocations: 290.2 kB / 0.9831 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.004002, allocations: 16.02 kB / 0.9831 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.004034, allocations: 30.75 kB / 0.9831 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.004057, allocations: 12.89 kB / 0.9832 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.004149, allocations: 113.7 kB / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.004159, allocations: 384 / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.004169, allocations: 4.375 kB / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.00435, allocations: 70.2 kB / 0.9833 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004358, allocations: 192 / 0.9833 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.004368, allocations: 4.375 kB / 0.9833 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.00438, allocations: 8.109 kB / 0.9833 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.004566, allocations: 63.94 kB / 0.9834 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.004912, allocations: 232 kB / 0.9836 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.005057, allocations: 54.42 kB / 0.9837 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.005159, allocations: 48.91 kB / 0.9837 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.005174, allocations: 3.938 kB / 0.9837 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.005198, allocations: 30.56 kB / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.0052, allocations: 0 / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003834/0.005583, allocations: 129.5 kB / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.005616, allocations: 55.41 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.005702, allocations: 109.8 kB / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.005713, allocations: 25.7 kB / 0.9841 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.005757, allocations: 92.09 kB / 0.9842 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.005773, allocations: 3.953 kB / 0.9842 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.005811, allocations: 17.72 kB / 0.9842 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.0059, allocations: 314.8 kB / 0.9845 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.005989, allocations: 27.97 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.006081, allocations: 39.95 kB / 0.9845 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.006256, allocations: 60.8 kB / 0.9846 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006258, allocations: 4 kB / 0.9846 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002182/0.006476, allocations: 109.5 kB / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.006491, allocations: 8 kB / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.006496, allocations: 0 / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.006511, allocations: 0 / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.006596, allocations: 19.92 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.006601, allocations: 0 / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.006649, allocations: 11.94 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.006656, allocations: 4 kB / 0.9847 GB, free: 13.35 MB / 0.9011 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 9.841e-05/0.006755, allocations: 109.8 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.006779, allocations: 15.94 kB / 0.9849 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.006801, allocations: 7.984 kB / 0.9849 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006803, allocations: 0 / 0.9849 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.006808, allocations: 0 / 0.9849 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.006812, allocations: 4 kB / 0.9849 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.006955, allocations: 132.8 kB / 0.985 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006956, allocations: 0 / 0.985 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.00701, allocations: 15.92 kB / 0.985 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007013, allocations: 336 / 0.985 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.007024, allocations: 11.98 kB / 0.985 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007025, allocations: 4 kB / 0.985 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007027, allocations: 320 / 0.985 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.007277, allocations: 195.4 kB / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.007287, allocations: 11.94 kB / 0.9852 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.007299, allocations: 0 / 0.9852 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.007373, allocations: 11.98 kB / 0.9852 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.00741, allocations: 7.922 kB / 0.9853 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.007414, allocations: 4 kB / 0.9853 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.007459, allocations: 99.23 kB / 0.9853 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.007459, allocations: 0 / 0.9853 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002244/0.007684, allocations: 8 kB / 0.9854 GB, free: 12.65 MB / 0.9011 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.000478/0.008162, allocations: 0.7279 MB / 0.9861 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.008389, allocations: 71.92 kB / 0.9861 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008391, allocations: 0 / 0.9861 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.221e-05/0.008483, allocations: 31.97 kB / 0.9862 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.00877, allocations: 15.88 kB / 0.9862 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.009185, allocations: 166.4 kB / 0.9863 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.009235, allocations: 67.28 kB / 0.9864 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.009271, allocations: 7.938 kB / 0.9864 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.009319, allocations: 12.5 kB / 0.9864 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/0.009319, allocations: 0 / 0.9864 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.02768, allocations: 2.5 MB / 0.9889 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.678, allocations: 10 kB / 0.9889 GB, free: 9.129 MB / 0.9011 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/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: 10.779548885300756]