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.0009501/0.0009501, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009115/0.0009115, allocations: 169 kB / 23.27 MB, free: 1.223 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.9356/0.9356, allocations: 177.1 MB / 203.7 MB, free: 5.523 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 2.269/2.269, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.593e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001833/0.001849, allocations: 1.567 MB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.002086, allocations: 151.8 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.002123, allocations: 0 / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.002148, allocations: 3.938 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.002197, allocations: 15.86 kB / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.677e-05/0.002264, allocations: 11.98 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.002331, allocations: 51.78 kB / 0.8915 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.002417, allocations: 8 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.002493, allocations: 27.97 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.002527, allocations: 11.98 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.002544, allocations: 4 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.002551, allocations: 4 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.002568, allocations: 11.92 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.002589, allocations: 15.98 kB / 0.8916 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.596e-05/0.002665, allocations: 27.84 kB / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002667, allocations: 0 / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002667, allocations: 4 kB / 0.8916 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002671, allocations: 0 / 0.8916 GB, free: 7.77 MB / 0.8542 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.0003185/0.002989, allocations: 384.2 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.003024, allocations: 12.02 kB / 0.892 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.003048, allocations: 8.891 kB / 0.892 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.003117, allocations: 116.5 kB / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.003125, allocations: 384 / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.003132, allocations: 4.375 kB / 0.8921 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.00323, allocations: 62.94 kB / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.003235, allocations: 192 / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.003241, allocations: 384 / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.003245, allocations: 384 / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.003268, allocations: 19.94 kB / 0.8922 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.003487, allocations: 244.4 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.003544, allocations: 42.98 kB / 0.8925 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.00356, allocations: 7.688 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.003568, allocations: 4 kB / 0.8925 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.003585, allocations: 33.39 kB / 0.8925 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.003585, allocations: 0 / 0.8925 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001146/0.0037, allocations: 57.83 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.003724, allocations: 51.41 kB / 0.8926 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.003786, allocations: 165.9 kB / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.003795, allocations: 33.7 kB / 0.8928 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.003839, allocations: 138.8 kB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.003854, allocations: 11.88 kB / 0.893 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.003879, allocations: 19.38 kB / 0.893 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.003981, allocations: 492.1 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.003992, allocations: 4 kB / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.004002, allocations: 3.984 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.004028, allocations: 23.67 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004029, allocations: 0 / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.73e-05/0.004076, allocations: 37.64 kB / 0.8935 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.004086, allocations: 12 kB / 0.8935 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004091, allocations: 3.984 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.004101, allocations: 3.938 kB / 0.8936 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.004155, allocations: 8 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.004158, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.004182, allocations: 11.94 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.004186, allocations: 0 / 0.8936 GB, free: 5.59 MB / 0.8542 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.823e-05/0.004244, allocations: 160.6 kB / 0.8937 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.004256, allocations: 0 / 0.8937 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.004278, allocations: 8 kB / 0.8937 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.00428, allocations: 7.938 kB / 0.8937 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004282, allocations: 0 / 0.8937 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.004284, allocations: 0 / 0.8937 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.821e-05/0.004372, allocations: 109.2 kB / 0.8938 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.004373, allocations: 0 / 0.8938 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.004398, allocations: 11.98 kB / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.004399, allocations: 0 / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.004403, allocations: 0 / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004404, allocations: 0 / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004405, allocations: 0 / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.234e-05/0.004497, allocations: 203.8 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.004504, allocations: 12 kB / 0.8941 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.004511, allocations: 0 / 0.8941 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.004555, allocations: 11.98 kB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.004582, allocations: 3.938 kB / 0.8941 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.004586, allocations: 4 kB / 0.8941 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.004619, allocations: 131.2 kB / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00462, allocations: 0 / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001325/0.004752, allocations: 11.94 kB / 0.8942 GB, free: 4.863 MB / 0.8542 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 6.038e-05/0.004812, allocations: 95.25 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.939e-05/0.004872, allocations: 23.61 kB / 0.8943 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.004873, allocations: 0 / 0.8943 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.004893, allocations: 15.69 kB / 0.8943 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.005071, allocations: 14.05 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.005285, allocations: 138.6 kB / 0.8945 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.005317, allocations: 63.34 kB / 0.8946 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.005338, allocations: 3.984 kB / 0.8946 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.005394, allocations: 78.19 kB / 0.8946 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.005395, allocations: 3.938 kB / 0.8946 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.002126/0.007521, allocations: 0.9507 MB / 0.8956 GB, free: 3.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0212873867712915]