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.001314/0.001314, allocations: 107.6 kB / 18.88 MB, free: 3.062 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.001536/0.001536, allocations: 194.3 kB / 22.17 MB, free: 5.648 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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 3.22/3.22, allocations: 497.2 MB / 0.7845 GB, free: 33.67 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.00195/0.00195, allocations: 67.61 kB / 1.139 GB, free: 33.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3813, allocations: 173.9 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003758/0.385, allocations: 2.188 MB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.3876, allocations: 1.402 MB / 1.313 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3877, allocations: 0 / 1.313 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.3884, allocations: 255 kB / 1.313 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3895, allocations: 438.6 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.797e-06/0.3895, allocations: 0 / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.3899, allocations: 394.5 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.39, allocations: 16.39 kB / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3901, allocations: 147.3 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3904, allocations: 207.2 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.3904, allocations: 24 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.391, allocations: 279.6 kB / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.3913, allocations: 371 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.3916, allocations: 302.2 kB / 1.315 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.3926, allocations: 0.852 MB / 1.316 GB, free: 9.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3926, allocations: 7.938 kB / 1.316 GB, free: 9.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3926, allocations: 0 / 1.316 GB, free: 9.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3926, allocations: 0 / 1.316 GB, free: 9.074 MB / 1.014 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.001434/0.394, allocations: 0.9671 MB / 1.317 GB, free: 8.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3941, allocations: 8.031 kB / 1.317 GB, free: 8.047 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.3947, allocations: 128.4 kB / 1.317 GB, free: 7.922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3959, allocations: 0.9186 MB / 1.318 GB, free: 6.961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3959, allocations: 8.375 kB / 1.318 GB, free: 6.953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.396, allocations: 12.38 kB / 1.318 GB, free: 6.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.3969, allocations: 0.6397 MB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3969, allocations: 0 / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.3969, allocations: 4 kB / 1.319 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3969, allocations: 7.984 kB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.3984, allocations: 1.109 MB / 1.32 GB, free: 5.176 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.4012, allocations: 2.043 MB / 1.322 GB, free: 3.078 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.402, allocations: 340.4 kB / 1.322 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.4024, allocations: 216.8 kB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.4024, allocations: 27.97 kB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4025, allocations: 42.5 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.4025, allocations: 0 / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001373/0.4038, allocations: 0.7019 MB / 1.323 GB, free: 1.738 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4039, allocations: 55.41 kB / 1.323 GB, free: 1.672 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.4064, allocations: 2.074 MB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.4064, allocations: 29.7 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.4068, allocations: 332.1 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.4068, allocations: 67.44 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.407, allocations: 57.69 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4071, allocations: 318 kB / 1.326 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.4078, allocations: 0.5271 MB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.4085, allocations: 0.5576 MB / 1.327 GB, free: 13.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4096, allocations: 0.7713 MB / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4096, allocations: 4 kB / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001665/0.4113, allocations: 1.212 MB / 1.329 GB, free: 11.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4113, allocations: 8 kB / 1.329 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4113, allocations: 0 / 1.329 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4113, allocations: 0 / 1.329 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.4117, allocations: 59.95 kB / 1.329 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.4117, allocations: 8.031 kB / 1.329 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.412, allocations: 35.77 kB / 1.329 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.4121, allocations: 15.92 kB / 1.329 GB, free: 11.56 MB / 1.029 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.0003515/0.4124, allocations: 273.7 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4125, allocations: 75.47 kB / 1.329 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009623/0.4135, allocations: 0.535 MB / 1.33 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4135, allocations: 4 kB / 1.33 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4135, allocations: 7.922 kB / 1.33 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4135, allocations: 0 / 1.33 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.4169, allocations: 2.582 MB / 1.332 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.4169, allocations: 8.578 kB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4171, allocations: 55.89 kB / 1.332 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.4171, allocations: 4 kB / 1.332 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.4172, allocations: 12 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.4172, allocations: 11.98 kB / 1.332 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.4172, allocations: 11.88 kB / 1.332 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4182, allocations: 0.6614 MB / 1.333 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.4184, allocations: 164.6 kB / 1.333 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.4185, allocations: 12 kB / 1.333 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4188, allocations: 19.97 kB / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.4189, allocations: 27.86 kB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.4189, allocations: 12 kB / 1.333 GB, free: 6.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001778/0.4207, allocations: 1.592 MB / 1.335 GB, free: 5.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 1.335 GB, free: 5.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005794/0.4213, allocations: 167.9 kB / 1.335 GB, free: 5.121 MB / 1.029 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.000357/0.4216, allocations: 171 kB / 1.335 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.4228, allocations: 0.769 MB / 1.336 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4228, allocations: 0 / 1.336 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.4232, allocations: 224.8 kB / 1.336 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.424, allocations: 177.1 kB / 1.336 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.4266, allocations: 1.622 MB / 1.338 GB, free: 2.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.4274, allocations: 1.003 MB / 1.339 GB, free: 1.051 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002707/0.4277, allocations: 88.53 kB / 1.339 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.4278, allocations: 39.42 kB / 1.339 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.4278, allocations: 0 / 1.339 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of Templates: time 0.02129/0.4491, allocations: 10.57 MB / 1.349 GB, free: 6.477 MB / 1.045 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.34930405812338]