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.001302/0.001302, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.001636/0.001636, allocations: 169 kB / 23.27 MB, free: 1.219 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.8938/0.8938, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.26/2.26, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.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.533e-06/1.533e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.374e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002319/0.002333, allocations: 2.084 MB / 0.8918 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.003868, allocations: 1.352 MB / 0.8931 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.00393, allocations: 0 / 0.8931 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.004393, allocations: 250.9 kB / 0.8934 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.004985, allocations: 450.3 kB / 0.8938 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.004989, allocations: 0 / 0.8938 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.005233, allocations: 402.3 kB / 0.8942 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.005274, allocations: 16.58 kB / 0.8942 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005396, allocations: 187.5 kB / 0.8944 GB, free: 5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.005554, allocations: 187.4 kB / 0.8945 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.005579, allocations: 24 kB / 0.8946 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.005888, allocations: 279.5 kB / 0.8948 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.006088, allocations: 387.1 kB / 0.8952 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.006215, allocations: 207.5 kB / 0.8954 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.006676, allocations: 0.6306 MB / 0.896 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006678, allocations: 0 / 0.896 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.71e-07/0.006678, allocations: 0 / 0.896 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.006682, allocations: 0 / 0.896 GB, free: 3.305 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.000705/0.007387, allocations: 1.023 MB / 0.897 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.007418, allocations: 8.031 kB / 0.897 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/0.007706, allocations: 132.3 kB / 0.8971 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.008024, allocations: 477.1 kB / 0.8976 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.008038, allocations: 8.375 kB / 0.8976 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.008056, allocations: 16.38 kB / 0.8976 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.008506, allocations: 164.1 kB / 0.8978 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.008513, allocations: 192 / 0.8978 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.008528, allocations: 8.375 kB / 0.8978 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.008535, allocations: 7.938 kB / 0.8978 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.008684, allocations: 132.3 kB / 0.8979 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.009543, allocations: 0.9415 MB / 0.8988 GB, free: 316 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.009749, allocations: 123.3 kB / 0.899 GB, free: 180 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.009805, allocations: 51.95 kB / 0.899 GB, free: 124 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.00984, allocations: 23.98 kB / 0.899 GB, free: 100 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.009858, allocations: 37.34 kB / 0.8991 GB, free: 52 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.009859, allocations: 0 / 0.8991 GB, free: 52 kB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0002971/0.01016, allocations: 206.5 kB / 0.8993 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.01018, allocations: 59.41 kB / 0.8993 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.01076, allocations: 0.9795 MB / 0.9003 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.01078, allocations: 29.7 kB / 0.9003 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.01098, allocations: 410.8 kB / 0.9007 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.01101, allocations: 67.38 kB / 0.9008 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.01108, allocations: 67.31 kB / 0.9008 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.01118, allocations: 496.4 kB / 0.9013 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.01125, allocations: 59.91 kB / 0.9014 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.01134, allocations: 83.31 kB / 0.9014 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.0115, allocations: 137.3 kB / 0.9016 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0115, allocations: 4 kB / 0.9016 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002827/0.01178, allocations: 281.1 kB / 0.9018 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01179, allocations: 4 kB / 0.9018 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.0118, allocations: 4 kB / 0.9018 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.0118, allocations: 0 / 0.9018 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01196, allocations: 67.89 kB / 0.9019 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.01196, allocations: 3.938 kB / 0.9019 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.01209, allocations: 27.83 kB / 0.9019 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01211, allocations: 12.03 kB / 0.902 GB, free: 13.01 MB / 0.8698 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 9.165e-05/0.0122, allocations: 172.5 kB / 0.9021 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.01226, allocations: 71.53 kB / 0.9022 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.01249, allocations: 199.9 kB / 0.9024 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01249, allocations: 4 kB / 0.9024 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01249, allocations: 0 / 0.9024 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.0125, allocations: 3.938 kB / 0.9024 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/0.0133, allocations: 1.042 MB / 0.9034 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01331, allocations: 7.938 kB / 0.9034 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.0134, allocations: 51.92 kB / 0.9035 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01341, allocations: 8 kB / 0.9035 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01342, allocations: 12 kB / 0.9035 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.01343, allocations: 7.938 kB / 0.9035 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.01343, allocations: 4 kB / 0.9035 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.01368, allocations: 392.2 kB / 0.9039 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.01374, allocations: 75.5 kB / 0.9039 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.01378, allocations: 8 kB / 0.9039 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.0139, allocations: 23.92 kB / 0.904 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.01394, allocations: 27.91 kB / 0.904 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01395, allocations: 8 kB / 0.904 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003427/0.01429, allocations: 0.6355 MB / 0.9046 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01429, allocations: 0 / 0.9046 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005472/0.01484, allocations: 175.9 kB / 0.9048 GB, free: 9.879 MB / 0.8698 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.0001847/0.01502, allocations: 171 kB / 0.905 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01521, allocations: 151.4 kB / 0.9051 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01521, allocations: 4 kB / 0.9051 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.01528, allocations: 68.45 kB / 0.9052 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.01569, allocations: 190.9 kB / 0.9053 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.01705, allocations: 1.345 MB / 0.9067 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.01717, allocations: 213.2 kB / 0.9069 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.01729, allocations: 64.39 kB / 0.9069 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.01755, allocations: 230.1 kB / 0.9071 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.01755, allocations: 0 / 0.9071 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of Templates: time 0.01241/0.02996, allocations: 11.66 MB / 0.9185 GB, free: 11.91 MB / 0.8855 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.094563801307231]