Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001477/0.001477, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001684/0.001684, allocations: 165 kB / 23.02 MB, free: 1.551 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.9745/0.9745, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.137/2.137, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 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.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.816e-05/3.998e-05, allocations: 9.125 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002647/0.002687, allocations: 2.097 MB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.004595, allocations: 1.373 MB / 0.8816 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.004699, allocations: 0.5625 kB / 0.8816 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.005287, allocations: 243 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000819/0.006106, allocations: 452.9 kB / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.853e-06/0.006112, allocations: 1.344 kB / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.006446, allocations: 398.4 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.006494, allocations: 8.594 kB / 0.8826 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.006641, allocations: 199.4 kB / 0.8828 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.006828, allocations: 191.3 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.006855, allocations: 24 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.007289, allocations: 279.5 kB / 0.8833 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.007535, allocations: 387.2 kB / 0.8837 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.007839, allocations: 195.5 kB / 0.8838 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.008504, allocations: 0.6344 MB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.008508, allocations: 0 / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.008509, allocations: 3.938 kB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.008519, allocations: 0 / 0.8845 GB, free: 15.9 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009492/0.009468, allocations: 1.011 MB / 0.8855 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.00951, allocations: 16.03 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.009886, allocations: 124.4 kB / 0.8856 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.01038, allocations: 0.5127 MB / 0.8861 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.0104, allocations: 8.375 kB / 0.8861 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.01043, allocations: 24.31 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.0107, allocations: 168.2 kB / 0.8863 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.01071, allocations: 192 / 0.8863 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.01073, allocations: 12.38 kB / 0.8863 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.01074, allocations: 3.938 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.01097, allocations: 164.5 kB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.01211, allocations: 1.058 MB / 0.8875 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.01242, allocations: 143.2 kB / 0.8876 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.01251, allocations: 63.66 kB / 0.8877 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.01255, allocations: 27.98 kB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.01257, allocations: 33.39 kB / 0.8877 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.01257, allocations: 0 / 0.8877 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0004004/0.01297, allocations: 235.6 kB / 0.888 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.013, allocations: 55.34 kB / 0.888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.01376, allocations: 1.042 MB / 0.889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.01378, allocations: 29.7 kB / 0.8891 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.01401, allocations: 410.9 kB / 0.8895 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.01405, allocations: 75.41 kB / 0.8895 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.01414, allocations: 63.31 kB / 0.8896 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01425, allocations: 0.4887 MB / 0.8901 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.01436, allocations: 63.95 kB / 0.8901 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01447, allocations: 88.83 kB / 0.8902 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.01466, allocations: 159.7 kB / 0.8904 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01467, allocations: 0 / 0.8904 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003396/0.01501, allocations: 285.2 kB / 0.8906 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01502, allocations: 8 kB / 0.8906 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01503, allocations: 0 / 0.8906 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01504, allocations: 0 / 0.8906 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.01522, allocations: 67.88 kB / 0.8907 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01523, allocations: 4 kB / 0.8907 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.01537, allocations: 31.83 kB / 0.8907 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01539, allocations: 11.98 kB / 0.8908 GB, free: 9.238 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 0.0001106/0.0155, allocations: 164.5 kB / 0.8909 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.01557, allocations: 75.58 kB / 0.891 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.01589, allocations: 213.4 kB / 0.8912 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01589, allocations: 0 / 0.8912 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.0159, allocations: 7.922 kB / 0.8912 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.0159, allocations: 3.984 kB / 0.8912 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.01697, allocations: 1.17 MB / 0.8923 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01697, allocations: 4 kB / 0.8923 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01709, allocations: 55.89 kB / 0.8924 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.0171, allocations: 4 kB / 0.8924 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01711, allocations: 8 kB / 0.8924 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.01712, allocations: 7.938 kB / 0.8924 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.01712, allocations: 8.344 kB / 0.8924 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.01749, allocations: 402.2 kB / 0.8928 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.01757, allocations: 79.5 kB / 0.8929 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.01762, allocations: 11.98 kB / 0.8929 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.01776, allocations: 15.94 kB / 0.8929 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.01779, allocations: 31.84 kB / 0.8929 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01781, allocations: 12 kB / 0.893 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000501/0.01831, allocations: 0.7138 MB / 0.8937 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01831, allocations: 8 kB / 0.8937 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004062/0.01871, allocations: 175.8 kB / 0.8938 GB, free: 5.855 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0002462/0.01896, allocations: 171 kB / 0.894 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.01922, allocations: 159.7 kB / 0.8941 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01922, allocations: 4 kB / 0.8941 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.01931, allocations: 65.73 kB / 0.8942 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.01977, allocations: 191.6 kB / 0.8944 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.0214, allocations: 1.352 MB / 0.8957 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.02153, allocations: 213.4 kB / 0.8959 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.02166, allocations: 64.39 kB / 0.896 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.02174, allocations: 44.48 kB / 0.896 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.02174, allocations: 0 / 0.896 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of Templates: time 0.01363/0.03537, allocations: 10.8 MB / 0.9066 GB, free: 8.871 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.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.787952546030283]