Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008272/0.0008272, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008368/0.0008368, allocations: 178.2 kB / 23.22 MB, free: 1.344 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 0.8717/0.8717, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.922e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002104/0.002123, allocations: 1.965 MB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.003713, allocations: 1.305 MB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.003788, allocations: 0 / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.004264, allocations: 247 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006815/0.004946, allocations: 448.9 kB / 0.9861 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 7.094e-06/0.004953, allocations: 0 / 0.9861 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.005222, allocations: 406.3 kB / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.005271, allocations: 16.53 kB / 0.9865 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.005413, allocations: 191.4 kB / 0.9866 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.00557, allocations: 187.3 kB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.005596, allocations: 20 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.005946, allocations: 287.5 kB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.006167, allocations: 379.2 kB / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.006299, allocations: 199.4 kB / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.006919, allocations: 0.8527 MB / 0.9885 GB, free: 11.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.006922, allocations: 3.938 kB / 0.9885 GB, free: 11.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006923, allocations: 0 / 0.9885 GB, free: 11.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.006928, allocations: 0 / 0.9885 GB, free: 11.59 MB / 0.948 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.0007867/0.007715, allocations: 0.8917 MB / 0.9894 GB, free: 10.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.007753, allocations: 12.03 kB / 0.9894 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.008089, allocations: 124.4 kB / 0.9895 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.008756, allocations: 0.8613 MB / 0.9903 GB, free: 9.641 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.008774, allocations: 16.38 kB / 0.9904 GB, free: 9.625 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.008796, allocations: 12.38 kB / 0.9904 GB, free: 9.613 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.009324, allocations: 0.6361 MB / 0.991 GB, free: 8.973 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.009334, allocations: 192 / 0.991 GB, free: 8.973 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.009352, allocations: 4.375 kB / 0.991 GB, free: 8.969 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.009358, allocations: 7.938 kB / 0.991 GB, free: 8.961 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.01016, allocations: 1.101 MB / 0.9921 GB, free: 7.859 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01174, allocations: 1.914 MB / 0.9939 GB, free: 5.914 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.0122, allocations: 338.6 kB / 0.9943 GB, free: 5.574 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.01242, allocations: 216.8 kB / 0.9945 GB, free: 5.359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.01245, allocations: 23.98 kB / 0.9945 GB, free: 5.336 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.01247, allocations: 38.56 kB / 0.9945 GB, free: 5.289 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/0.01247, allocations: 0 / 0.9945 GB, free: 5.289 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007414/0.01321, allocations: 0.7103 MB / 0.9952 GB, free: 4.574 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.01325, allocations: 55.34 kB / 0.9953 GB, free: 4.508 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.01473, allocations: 2.059 MB / 0.9973 GB, free: 2.441 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.01474, allocations: 29.7 kB / 0.9973 GB, free: 2.406 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.01493, allocations: 328.2 kB / 0.9976 GB, free: 2.082 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.01496, allocations: 67.38 kB / 0.9977 GB, free: 2.016 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.01503, allocations: 61.64 kB / 0.9978 GB, free: 1.949 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.01512, allocations: 318 kB / 0.9981 GB, free: 1.633 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.01551, allocations: 0.5271 MB / 0.9986 GB, free: 1.105 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.01591, allocations: 0.5561 MB / 0.9991 GB, free: 0.543 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.01652, allocations: 0.7724 MB / 0.9999 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01652, allocations: 0 / 0.9999 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009123/0.01744, allocations: 1.204 MB / 1.001 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01745, allocations: 4 kB / 1.001 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01746, allocations: 4.031 kB / 1.001 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01747, allocations: 7.938 kB / 1.001 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01764, allocations: 71.83 kB / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01764, allocations: 0 / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.01779, allocations: 27.88 kB / 1.001 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.01781, allocations: 11.98 kB / 1.001 GB, free: 14.43 MB / 0.9636 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.0001904/0.018, allocations: 269.7 kB / 1.001 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.01806, allocations: 71.53 kB / 1.001 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.01862, allocations: 0.5388 MB / 1.002 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01863, allocations: 4 kB / 1.002 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.01863, allocations: 3.938 kB / 1.002 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01864, allocations: 3.984 kB / 1.002 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.02047, allocations: 2.461 MB / 1.004 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.02047, allocations: 4 kB / 1.004 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.02059, allocations: 51.91 kB / 1.004 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.02059, allocations: 4 kB / 1.004 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.02061, allocations: 15.98 kB / 1.005 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.02061, allocations: 11.88 kB / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.02062, allocations: 4 kB / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.02116, allocations: 0.6511 MB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.02124, allocations: 87.42 kB / 1.005 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.02129, allocations: 8 kB / 1.005 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.02143, allocations: 23.92 kB / 1.005 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.02147, allocations: 31.84 kB / 1.005 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.02148, allocations: 8 kB / 1.005 GB, free: 10 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009814/0.02246, allocations: 1.588 MB / 1.007 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.02246, allocations: 0 / 1.007 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003418/0.0228, allocations: 179.8 kB / 1.007 GB, free: 8.242 MB / 0.9636 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.0002279/0.02303, allocations: 175 kB / 1.007 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.02369, allocations: 0.769 MB / 1.008 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02369, allocations: 0 / 1.008 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.0239, allocations: 216.8 kB / 1.008 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.02439, allocations: 174.9 kB / 1.008 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.02567, allocations: 1.41 MB / 1.01 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.02588, allocations: 328.6 kB / 1.01 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.02599, allocations: 44.48 kB / 1.01 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.02599, allocations: 4 kB / 1.01 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of Templates: time 0.008035/0.03402, allocations: 8.918 MB / 1.019 GB, free: 12.16 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.200225561857224]