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.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.001755/0.001755, allocations: 114.5 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.002022/0.002022, allocations: 191.2 kB / 22.17 MB, free: 5.656 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.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.138/3.138, allocations: 497.2 MB / 0.7845 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] 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.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 0.002022/0.002022, allocations: 68.61 kB / 1.139 GB, free: 33.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 173.9 MB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004055/0.3749, allocations: 2.074 MB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.3775, allocations: 1.391 MB / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3776, allocations: 0 / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.3783, allocations: 259.1 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009844/0.3792, allocations: 430.6 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.478e-06/0.3793, allocations: 4 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000413/0.3797, allocations: 398.4 kB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.448e-05/0.3797, allocations: 16.34 kB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3799, allocations: 143.4 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3801, allocations: 215.1 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.3802, allocations: 24 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.3807, allocations: 275.6 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.381, allocations: 371 kB / 1.315 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.3813, allocations: 302.2 kB / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009319/0.3822, allocations: 0.8559 MB / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3822, allocations: 0 / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3822, allocations: 0 / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3822, allocations: 0 / 1.316 GB, free: 9.223 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.001319/0.3835, allocations: 0.971 MB / 1.317 GB, free: 8.199 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3836, allocations: 8.031 kB / 1.317 GB, free: 8.191 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.3842, allocations: 128.4 kB / 1.317 GB, free: 8.066 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3853, allocations: 0.9147 MB / 1.318 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3853, allocations: 8.375 kB / 1.318 GB, free: 7.102 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3854, allocations: 12.38 kB / 1.318 GB, free: 7.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.3862, allocations: 0.6472 MB / 1.318 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3862, allocations: 0 / 1.318 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.3862, allocations: 4 kB / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3863, allocations: 4 kB / 1.318 GB, free: 6.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3876, allocations: 1.109 MB / 1.32 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.3903, allocations: 2.043 MB / 1.322 GB, free: 3.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.3911, allocations: 337.5 kB / 1.322 GB, free: 2.887 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.3915, allocations: 216.8 kB / 1.322 GB, free: 2.672 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.3915, allocations: 23.98 kB / 1.322 GB, free: 2.648 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3915, allocations: 38.5 kB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.3915, allocations: 4 kB / 1.322 GB, free: 2.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001303/0.3928, allocations: 0.7057 MB / 1.323 GB, free: 1.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3929, allocations: 55.41 kB / 1.323 GB, free: 1.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.3953, allocations: 2.071 MB / 1.325 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3954, allocations: 29.7 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.3957, allocations: 344.1 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.3957, allocations: 67.42 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3958, allocations: 53.7 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.396, allocations: 318 kB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.3966, allocations: 0.5309 MB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.3973, allocations: 0.5576 MB / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3984, allocations: 0.7636 MB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3984, allocations: 7.922 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001536/0.3999, allocations: 1.208 MB / 1.329 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3999, allocations: 8.938 kB / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3999, allocations: 0 / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3999, allocations: 3.938 kB / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.4003, allocations: 63.89 kB / 1.329 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4003, allocations: 4 kB / 1.329 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.4006, allocations: 35.77 kB / 1.329 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.4007, allocations: 20.02 kB / 1.329 GB, free: 11.7 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.0003004/0.401, allocations: 273.7 kB / 1.329 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4011, allocations: 75.47 kB / 1.329 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009552/0.402, allocations: 0.5442 MB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.402, allocations: 4 kB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.402, allocations: 3.938 kB / 1.33 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.402, allocations: 0 / 1.33 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.4052, allocations: 2.574 MB / 1.332 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.4052, allocations: 4 kB / 1.332 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.4055, allocations: 51.89 kB / 1.332 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.4055, allocations: 4.562 kB / 1.332 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.4055, allocations: 16 kB / 1.332 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.4055, allocations: 15.92 kB / 1.332 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4056, allocations: 4 kB / 1.332 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/0.4065, allocations: 0.6598 MB / 1.333 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.4067, allocations: 156.6 kB / 1.333 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.4068, allocations: 16 kB / 1.333 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.4071, allocations: 23.97 kB / 1.333 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.4072, allocations: 19.86 kB / 1.333 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4072, allocations: 16 kB / 1.333 GB, free: 7.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001673/0.4089, allocations: 1.592 MB / 1.335 GB, free: 5.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4089, allocations: 4 kB / 1.335 GB, free: 5.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006016/0.4095, allocations: 167.9 kB / 1.335 GB, free: 5.273 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.0003216/0.4098, allocations: 167 kB / 1.335 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.4112, allocations: 0.7705 MB / 1.336 GB, free: 4.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4112, allocations: 3.938 kB / 1.336 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.4116, allocations: 224.8 kB / 1.336 GB, free: 4.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.4125, allocations: 182.8 kB / 1.336 GB, free: 3.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4149, allocations: 1.622 MB / 1.338 GB, free: 2.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/0.4157, allocations: 0.9949 MB / 1.339 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.4159, allocations: 88.55 kB / 1.339 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.416, allocations: 43.42 kB / 1.339 GB, free: 1.07 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.416, allocations: 0 / 1.339 GB, free: 1.07 MB / 1.029 GB Notification: Performance of Templates: time 0.01959/0.4356, allocations: 10.57 MB / 1.349 GB, free: 6.625 MB / 1.045 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.997942012734711]