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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 496.2 MB / 0.7819 GB, free: 12.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001969/0.001969, allocations: 67.88 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, allocations: 173.7 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002828/1.057, allocations: 2.194 MB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001815/1.059, allocations: 1.39 MB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/1.059, allocations: 0 / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/1.06, allocations: 261.1 kB / 1.309 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007503/1.06, allocations: 437.1 kB / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.124e-06/1.061, allocations: 0 / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/1.061, allocations: 397.8 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/1.061, allocations: 13.59 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/1.061, allocations: 139.4 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/1.061, allocations: 208.8 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/1.061, allocations: 23.12 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/1.061, allocations: 286.2 kB / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/1.062, allocations: 369.6 kB / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/1.062, allocations: 307 kB / 1.311 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006105/1.062, allocations: 0.8494 MB / 1.312 GB, free: 29.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.062, allocations: 4 kB / 1.312 GB, free: 29.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/1.062, allocations: 2.844 kB / 1.312 GB, free: 29.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.062, allocations: 0 / 1.312 GB, free: 29.66 MB / 1.061 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.0008598/1.063, allocations: 0.9694 MB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/1.063, allocations: 8.781 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/1.064, allocations: 131 kB / 1.313 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/1.065, allocations: 0.9241 MB / 1.314 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.065, allocations: 10.03 kB / 1.314 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.065, allocations: 12.72 kB / 1.314 GB, free: 28.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/1.065, allocations: 0.6371 MB / 1.315 GB, free: 28.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.065, allocations: 0 / 1.315 GB, free: 28.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/1.065, allocations: 6.625 kB / 1.315 GB, free: 28.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.065, allocations: 2.625 kB / 1.315 GB, free: 28.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/1.066, allocations: 1.113 MB / 1.316 GB, free: 27.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/1.068, allocations: 2.05 MB / 1.318 GB, free: 27.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/1.069, allocations: 339.2 kB / 1.318 GB, free: 27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/1.069, allocations: 220.8 kB / 1.318 GB, free: 26.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/1.069, allocations: 28.59 kB / 1.318 GB, free: 26.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/1.069, allocations: 45.22 kB / 1.318 GB, free: 26.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/1.069, allocations: 0 / 1.318 GB, free: 26.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0009779/1.07, allocations: 0.6992 MB / 1.319 GB, free: 26.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/1.07, allocations: 54.38 kB / 1.319 GB, free: 26.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/1.072, allocations: 2.072 MB / 1.321 GB, free: 25.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.072, allocations: 30.58 kB / 1.321 GB, free: 25.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/1.073, allocations: 326.5 kB / 1.322 GB, free: 25.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/1.073, allocations: 70.62 kB / 1.322 GB, free: 25.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/1.073, allocations: 59.27 kB / 1.322 GB, free: 25.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/1.073, allocations: 315.7 kB / 1.322 GB, free: 25.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/1.073, allocations: 0.5314 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/1.074, allocations: 0.5572 MB / 1.323 GB, free: 24.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/1.075, allocations: 0.7658 MB / 1.324 GB, free: 24.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.075, allocations: 8.625 kB / 1.324 GB, free: 24.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001739/1.077, allocations: 1.208 MB / 1.325 GB, free: 24.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.077, allocations: 9.062 kB / 1.325 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.077, allocations: 1.375 kB / 1.325 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.077, allocations: 0.9688 kB / 1.325 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/1.077, allocations: 61.61 kB / 1.325 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.077, allocations: 6.531 kB / 1.325 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/1.077, allocations: 34.34 kB / 1.325 GB, free: 24.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/1.077, allocations: 14.94 kB / 1.325 GB, free: 24.32 MB / 1.061 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.0002307/1.078, allocations: 272.4 kB / 1.325 GB, free: 24.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/1.078, allocations: 74.81 kB / 1.325 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/1.078, allocations: 0.539 MB / 1.326 GB, free: 23.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.078, allocations: 1.375 kB / 1.326 GB, free: 23.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.078, allocations: 1.375 kB / 1.326 GB, free: 23.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.078, allocations: 3.984 kB / 1.326 GB, free: 23.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/1.081, allocations: 2.591 MB / 1.328 GB, free: 22.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.081, allocations: 4.719 kB / 1.328 GB, free: 22.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/1.081, allocations: 53.17 kB / 1.329 GB, free: 22.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/1.081, allocations: 4.719 kB / 1.329 GB, free: 22.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.081, allocations: 11.56 kB / 1.329 GB, free: 22.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.081, allocations: 8.031 kB / 1.329 GB, free: 22.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.081, allocations: 8.844 kB / 1.329 GB, free: 22.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/1.082, allocations: 0.666 MB / 1.329 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.082, allocations: 160.8 kB / 1.329 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/1.083, allocations: 14.27 kB / 1.329 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/1.083, allocations: 15.05 kB / 1.329 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/1.083, allocations: 32.83 kB / 1.329 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/1.083, allocations: 13.38 kB / 1.329 GB, free: 22.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001527/1.084, allocations: 1.589 MB / 1.331 GB, free: 21.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.084, allocations: 0 / 1.331 GB, free: 21.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005837/1.085, allocations: 165.8 kB / 1.331 GB, free: 21.7 MB / 1.061 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.0002953/1.085, allocations: 181.3 kB / 1.331 GB, free: 21.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009595/1.086, allocations: 0.7726 MB / 1.332 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.086, allocations: 0 / 1.332 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/1.087, allocations: 220.7 kB / 1.332 GB, free: 21.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/1.087, allocations: 182.2 kB / 1.332 GB, free: 21.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/1.089, allocations: 1.619 MB / 1.334 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/1.09, allocations: 1.003 MB / 1.335 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002689/1.09, allocations: 84.22 kB / 1.335 GB, free: 19.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/1.09, allocations: 41.81 kB / 1.335 GB, free: 19.62 MB / 1.061 GB Notification: Performance of SimCode: time 7.21e-07/1.09, allocations: 0 / 1.335 GB, free: 19.62 MB / 1.061 GB Notification: Performance of Templates: time 0.02347/1.114, allocations: 10.57 MB / 1.345 GB, free: 18.82 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 400] 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.617364483885467]