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.001486/0.001486, allocations: 84.73 kB / 19.44 MB, free: 360 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.001556/0.001556, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.376/3.376, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.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 2.335e-06/2.335e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.259e-05/4.493e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004964/0.005009, allocations: 1.971 MB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003499/0.008509, allocations: 1.31 MB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.008799, allocations: 4.875 kB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.009915, allocations: 239 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.01162, allocations: 448.6 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.568e-05/0.01165, allocations: 4 kB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.01239, allocations: 410.3 kB / 0.8819 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.01247, allocations: 12.59 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.01287, allocations: 191.4 kB / 0.8821 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.01324, allocations: 183.3 kB / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.0133, allocations: 20 kB / 0.8823 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.01412, allocations: 287.5 kB / 0.8825 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.01465, allocations: 383.2 kB / 0.8829 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.01506, allocations: 195.5 kB / 0.8831 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.01667, allocations: 0.8527 MB / 0.8839 GB, free: 8 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.01667, allocations: 8 kB / 0.8839 GB, free: 0 / 0.8386 GB Notification: Performance of FrontEnd: time 1.532e-06/0.01668, allocations: 0 / 0.8839 GB, free: 0 / 0.8386 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.0167, allocations: 112 / 0.8839 GB, free: 16 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.002504/0.01921, allocations: 0.8839 MB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.11e-05/0.01928, allocations: 12.03 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.02024, allocations: 136.4 kB / 0.8849 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.02174, allocations: 0.8652 MB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.02177, allocations: 16.38 kB / 0.8858 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.02181, allocations: 12.38 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.02288, allocations: 0.636 MB / 0.8864 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.02289, allocations: 192 / 0.8864 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.02292, allocations: 4.375 kB / 0.8864 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.02293, allocations: 7.938 kB / 0.8864 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.02467, allocations: 1.101 MB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.02839, allocations: 1.906 MB / 0.8894 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.0293, allocations: 334.6 kB / 0.8897 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.02973, allocations: 224.8 kB / 0.8899 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.02979, allocations: 23.98 kB / 0.8899 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.02983, allocations: 34.56 kB / 0.89 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.02983, allocations: 0 / 0.89 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.001516/0.03135, allocations: 0.7068 MB / 0.8906 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.03141, allocations: 63.34 kB / 0.8907 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/0.03444, allocations: 2.055 MB / 0.8927 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.03448, allocations: 29.7 kB / 0.8927 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.03485, allocations: 328.2 kB / 0.8931 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/0.03495, allocations: 67.38 kB / 0.8931 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.03513, allocations: 61.64 kB / 0.8932 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002563/0.03539, allocations: 314 kB / 0.8935 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008656/0.03626, allocations: 0.5349 MB / 0.894 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.03712, allocations: 0.5534 MB / 0.8945 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.03864, allocations: 0.7684 MB / 0.8953 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.03865, allocations: 0 / 0.8953 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002041/0.04069, allocations: 1.216 MB / 0.8965 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.04073, allocations: 7.984 kB / 0.8965 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.04074, allocations: 0 / 0.8965 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-05/0.04078, allocations: 4 kB / 0.8965 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.04118, allocations: 71.83 kB / 0.8966 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.04119, allocations: 0 / 0.8966 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.04166, allocations: 31.81 kB / 0.8966 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.0417, allocations: 8 kB / 0.8966 GB, free: 2.84 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.0004548/0.04215, allocations: 277.7 kB / 0.8969 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.04237, allocations: 79.53 kB / 0.8969 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.04357, allocations: 0.5387 MB / 0.8975 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.04358, allocations: 7.984 kB / 0.8975 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.04359, allocations: 7.938 kB / 0.8975 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.0436, allocations: 0 / 0.8975 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.04775, allocations: 2.461 MB / 0.8999 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.04777, allocations: 4 kB / 0.8999 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.04803, allocations: 47.97 kB / 0.8999 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/0.04806, allocations: 8 kB / 0.8999 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.04809, allocations: 11.92 kB / 0.8999 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/0.04811, allocations: 11.94 kB / 0.9 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.04812, allocations: 4.375 kB / 0.9 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.04935, allocations: 0.6537 MB / 0.9006 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.04958, allocations: 83.5 kB / 0.9007 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.04969, allocations: 11.98 kB / 0.9007 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.05005, allocations: 27.92 kB / 0.9007 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.05012, allocations: 27.84 kB / 0.9007 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.05014, allocations: 12 kB / 0.9008 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002226/0.05237, allocations: 1.585 MB / 0.9023 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.05237, allocations: 0 / 0.9023 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006987/0.05307, allocations: 175.8 kB / 0.9025 GB, free: 12.62 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.0004797/0.05354, allocations: 174.9 kB / 0.9026 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.05489, allocations: 0.7612 MB / 0.9034 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.05489, allocations: 0 / 0.9034 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.05533, allocations: 228.8 kB / 0.9036 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.05633, allocations: 190.8 kB / 0.9038 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.05945, allocations: 1.623 MB / 0.9054 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.06009, allocations: 406.7 kB / 0.9058 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000305/0.0604, allocations: 84.39 kB / 0.9058 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.06057, allocations: 48.48 kB / 0.9059 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/0.06057, allocations: 0 / 0.9059 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of Templates: time 0.02345/0.08401, allocations: 10.58 MB / 0.9162 GB, free: 14.65 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.149094591964968]