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.001728/0.001728, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001947/0.001947, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.471/1.471, 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.304/3.304, allocations: 497.2 MB / 0.7845 GB, free: 33.53 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.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.001982/0.001982, allocations: 70.55 kB / 1.139 GB, free: 33.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4147, 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.003658/0.4184, allocations: 2.066 MB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.4209, allocations: 1.387 MB / 1.313 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.421, allocations: 0 / 1.313 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.4217, allocations: 263 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.4228, allocations: 441.7 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.314e-06/0.4228, allocations: 0 / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.4232, allocations: 390.5 kB / 1.314 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.51e-05/0.4233, allocations: 12.41 kB / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.4234, allocations: 147.4 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.4237, allocations: 211.1 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4237, allocations: 27.94 kB / 1.314 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.4242, allocations: 275.6 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.4246, allocations: 367 kB / 1.315 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.4249, allocations: 314.2 kB / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009854/0.4258, allocations: 0.8519 MB / 1.316 GB, free: 9.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4258, allocations: 0 / 1.316 GB, free: 9.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4258, allocations: 4 kB / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.4259, 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.001338/0.4272, allocations: 0.9593 MB / 1.317 GB, free: 8.211 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4272, allocations: 19.97 kB / 1.317 GB, free: 8.191 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.4279, allocations: 132.4 kB / 1.317 GB, free: 8.062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.429, allocations: 0.9147 MB / 1.318 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.429, allocations: 8.375 kB / 1.318 GB, free: 7.098 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.429, allocations: 16.38 kB / 1.318 GB, free: 7.082 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4301, allocations: 0.6433 MB / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4301, allocations: 0 / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.4301, allocations: 4 kB / 1.318 GB, free: 6.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4301, allocations: 4 kB / 1.318 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.4316, allocations: 1.113 MB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.4346, allocations: 2.035 MB / 1.322 GB, free: 3.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.4354, allocations: 336.2 kB / 1.322 GB, free: 2.887 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.4357, allocations: 224.8 kB / 1.322 GB, free: 2.664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.4358, allocations: 19.97 kB / 1.322 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4358, allocations: 42.5 kB / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.4358, allocations: 0 / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001334/0.4372, allocations: 0.7017 MB / 1.323 GB, free: 1.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.4372, allocations: 51.41 kB / 1.323 GB, free: 1.824 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.4399, allocations: 2.074 MB / 1.325 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.962e-05/0.44, allocations: 33.7 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.4403, allocations: 336.1 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.4404, allocations: 63.44 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4405, allocations: 61.69 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4407, allocations: 318 kB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.4413, allocations: 0.5271 MB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.442, allocations: 0.5498 MB / 1.327 GB, free: 13.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.4431, allocations: 0.7752 MB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4431, allocations: 3.938 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00162/0.4447, allocations: 1.212 MB / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4447, allocations: 12.02 kB / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4447, allocations: 0 / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4447, allocations: 4 kB / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.4451, allocations: 59.95 kB / 1.329 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4451, allocations: 3.938 kB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.4455, allocations: 35.77 kB / 1.329 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.4455, allocations: 12 kB / 1.329 GB, free: 11.71 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.0003771/0.4459, allocations: 277.7 kB / 1.329 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.446, allocations: 75.47 kB / 1.329 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.4471, allocations: 0.5428 MB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4471, allocations: 0 / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4471, allocations: 4 kB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4471, allocations: 0 / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.4504, allocations: 2.582 MB / 1.332 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4504, allocations: 4 kB / 1.332 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.4507, allocations: 55.89 kB / 1.332 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.4507, allocations: 8 kB / 1.332 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.4507, allocations: 8 kB / 1.332 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.4508, allocations: 4 kB / 1.332 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4508, allocations: 8.281 kB / 1.332 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4519, allocations: 0.6653 MB / 1.333 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4521, allocations: 156.6 kB / 1.333 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.4522, allocations: 12 kB / 1.333 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.4525, allocations: 19.98 kB / 1.333 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.4526, allocations: 27.86 kB / 1.333 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.4526, allocations: 19.92 kB / 1.333 GB, free: 7.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001739/0.4543, allocations: 1.588 MB / 1.335 GB, free: 5.445 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4543, allocations: 0 / 1.335 GB, free: 5.445 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006074/0.4549, allocations: 175.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.0003691/0.4553, allocations: 171 kB / 1.335 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.4565, allocations: 0.769 MB / 1.336 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4566, allocations: 0 / 1.336 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.4569, allocations: 219.8 kB / 1.336 GB, free: 4.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.4578, allocations: 183.9 kB / 1.336 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4607, allocations: 1.62 MB / 1.338 GB, free: 2.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.4615, allocations: 1.003 MB / 1.339 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002698/0.4618, allocations: 84.53 kB / 1.339 GB, free: 1.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4619, allocations: 51.42 kB / 1.339 GB, free: 1.066 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/0.4619, allocations: 0 / 1.339 GB, free: 1.066 MB / 1.029 GB Notification: Performance of Templates: time 0.02279/0.4847, allocations: 10.57 MB / 1.349 GB, free: 6.621 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 cvode -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: 9.447222230024636]