Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.002428/0.002428, allocations: 85.48 kB / 19.44 MB, free: 340 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.002911/0.002911, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.502/3.502, allocations: 429.4 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.217e-05/1.217e-05, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/4.506e-05, allocations: 6.438 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004272/0.004317, allocations: 2.208 MB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.006826, allocations: 1.357 MB / 0.881 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.006906, allocations: 4 kB / 0.881 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006958/0.007602, allocations: 242.9 kB / 0.8812 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.008648, allocations: 450.3 kB / 0.8816 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.546e-06/0.008657, allocations: 4 kB / 0.8816 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.009148, allocations: 406.3 kB / 0.882 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.009197, allocations: 8.594 kB / 0.882 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.009441, allocations: 187.4 kB / 0.8822 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.009729, allocations: 187.4 kB / 0.8824 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.009782, allocations: 24 kB / 0.8824 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.01041, allocations: 283.5 kB / 0.8827 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.01082, allocations: 387.1 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.0111, allocations: 199.5 kB / 0.8832 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.01225, allocations: 0.8449 MB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01225, allocations: 0 / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01225, allocations: 4 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.01226, allocations: 0 / 0.8841 GB, free: 15.89 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.001564/0.01382, allocations: 1.038 MB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.01387, allocations: 8.031 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.01449, allocations: 132.4 kB / 0.8852 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.01526, allocations: 0.4932 MB / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.01528, allocations: 12.38 kB / 0.8857 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.01532, allocations: 20.36 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.01579, allocations: 203.4 kB / 0.8859 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.0158, allocations: 192 / 0.8859 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.01583, allocations: 4.375 kB / 0.8859 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.01585, allocations: 7.938 kB / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.01647, allocations: 255.8 kB / 0.8862 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.01883, allocations: 1.115 MB / 0.8873 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.01949, allocations: 211.3 kB / 0.8875 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.01976, allocations: 107.5 kB / 0.8876 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/0.01983, allocations: 23.98 kB / 0.8876 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.01987, allocations: 37.39 kB / 0.8876 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.01987, allocations: 0 / 0.8876 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0009521/0.02082, allocations: 344 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.02087, allocations: 55.34 kB / 0.888 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.0223, allocations: 1.066 MB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.02234, allocations: 33.7 kB / 0.8891 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.02279, allocations: 422.9 kB / 0.8895 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.02286, allocations: 75.42 kB / 0.8895 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.023, allocations: 67.3 kB / 0.8896 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000293/0.02329, allocations: 0.4926 MB / 0.8901 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.02357, allocations: 103.9 kB / 0.8902 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.02389, allocations: 140.5 kB / 0.8903 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.02445, allocations: 236.8 kB / 0.8906 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.02445, allocations: 0 / 0.8906 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008367/0.02529, allocations: 369.1 kB / 0.8909 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.0253, allocations: 6.5 kB / 0.8909 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02531, allocations: 0 / 0.8909 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.02533, allocations: 4 kB / 0.8909 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.02568, allocations: 63.83 kB / 0.891 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.02569, allocations: 4 kB / 0.891 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.02599, allocations: 23.84 kB / 0.891 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.02602, allocations: 16.02 kB / 0.891 GB, free: 8.551 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.0001875/0.02621, allocations: 172.5 kB / 0.8912 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.02634, allocations: 71.58 kB / 0.8912 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.02708, allocations: 283.8 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.02709, allocations: 4 kB / 0.8915 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02709, allocations: 7.938 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.0271, allocations: 3.984 kB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.02951, allocations: 1.353 MB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.02952, allocations: 4 kB / 0.8929 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.02977, allocations: 47.91 kB / 0.8929 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.02978, allocations: 4 kB / 0.8929 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.02981, allocations: 12 kB / 0.8929 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/0.02983, allocations: 15.86 kB / 0.8929 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.02983, allocations: 7.938 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.03099, allocations: 480.4 kB / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.03117, allocations: 75.5 kB / 0.8935 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.03126, allocations: 12 kB / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.03157, allocations: 23.86 kB / 0.8935 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.03164, allocations: 27.91 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.03166, allocations: 12 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009815/0.03264, allocations: 0.7137 MB / 0.8942 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03264, allocations: 0 / 0.8942 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005916/0.03323, allocations: 175.8 kB / 0.8944 GB, free: 4.836 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.0003726/0.03361, allocations: 171.1 kB / 0.8946 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.03426, allocations: 239.4 kB / 0.8948 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.03427, allocations: 4 kB / 0.8948 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.03456, allocations: 107.4 kB / 0.8949 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.03534, allocations: 191.9 kB / 0.8951 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.03776, allocations: 1.372 MB / 0.8964 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.03825, allocations: 394.7 kB / 0.8968 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.03848, allocations: 64.41 kB / 0.8969 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.03862, allocations: 40.48 kB / 0.8969 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of SimCode: time 1.163e-06/0.03862, allocations: 0 / 0.8969 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of Templates: time 0.02151/0.06013, allocations: 10.53 MB / 0.9072 GB, free: 7.809 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 9.203609999967739]