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.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.001911/0.001911, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00177/0.00177, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9838/0.9838, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.094/2.094, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.513e-06/1.513e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.127e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002724/0.002745, allocations: 2.098 MB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.004633, allocations: 1.355 MB / 0.8828 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.269e-05/0.004716, allocations: 0 / 0.8828 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.00527, allocations: 239 kB / 0.883 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008576/0.006127, allocations: 455.1 kB / 0.8834 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.442e-06/0.006134, allocations: 0.5938 kB / 0.8834 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.006629, allocations: 403.7 kB / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.006679, allocations: 12.59 kB / 0.8838 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.006811, allocations: 187.4 kB / 0.884 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.006984, allocations: 183.4 kB / 0.8842 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.00701, allocations: 28 kB / 0.8842 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.00737, allocations: 287.5 kB / 0.8845 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.007592, allocations: 391.1 kB / 0.8849 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.007726, allocations: 191.5 kB / 0.885 GB, free: 240 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.008235, allocations: 0.6422 MB / 0.8857 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.008238, allocations: 0 / 0.8857 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008239, allocations: 0 / 0.8857 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.008244, allocations: 0 / 0.8857 GB, free: 15.59 MB / 0.8542 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.0007625/0.009007, allocations: 1.015 MB / 0.8867 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.009042, allocations: 8.031 kB / 0.8867 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003874/0.00943, allocations: 132.4 kB / 0.8868 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.009837, allocations: 485 kB / 0.8873 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.009851, allocations: 8.375 kB / 0.8873 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.01004, allocations: 16.38 kB / 0.8873 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.01024, allocations: 152.2 kB / 0.8874 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01025, allocations: 192 / 0.8874 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.01026, allocations: 12.31 kB / 0.8874 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.01027, allocations: 11.94 kB / 0.8874 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.01044, allocations: 144.8 kB / 0.8876 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.01136, allocations: 0.9182 MB / 0.8885 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.01159, allocations: 127.3 kB / 0.8886 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.01165, allocations: 48.17 kB / 0.8887 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.01169, allocations: 27.92 kB / 0.8887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01171, allocations: 37.39 kB / 0.8887 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.01171, allocations: 4 kB / 0.8887 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0002912/0.012, allocations: 211.5 kB / 0.8889 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.01203, allocations: 51.41 kB / 0.889 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.01266, allocations: 0.9795 MB / 0.8899 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01268, allocations: 29.7 kB / 0.89 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.0129, allocations: 410.8 kB / 0.8903 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.01294, allocations: 63.42 kB / 0.8904 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.01301, allocations: 71.28 kB / 0.8905 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.01312, allocations: 0.4887 MB / 0.8909 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.0132, allocations: 51.97 kB / 0.891 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.0133, allocations: 96.75 kB / 0.8911 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.01347, allocations: 135.8 kB / 0.8912 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01347, allocations: 4 kB / 0.8912 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003003/0.01377, allocations: 273.1 kB / 0.8915 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01378, allocations: 8 kB / 0.8915 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01379, allocations: 0 / 0.8915 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.0138, allocations: 3.938 kB / 0.8915 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01396, allocations: 67.92 kB / 0.8916 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.01396, allocations: 7.938 kB / 0.8916 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01409, allocations: 27.84 kB / 0.8916 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.0141, allocations: 7.984 kB / 0.8916 GB, free: 9.301 MB / 0.8542 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.0001017/0.01421, allocations: 168.5 kB / 0.8918 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.01427, allocations: 75.56 kB / 0.8918 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.01451, allocations: 197.8 kB / 0.892 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.01451, allocations: 4 kB / 0.892 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.01451, allocations: 0 / 0.892 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01452, allocations: 3.938 kB / 0.892 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.01539, allocations: 1.045 MB / 0.8931 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.01539, allocations: 4 kB / 0.8931 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.0155, allocations: 51.91 kB / 0.8931 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.0155, allocations: 4 kB / 0.8931 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01552, allocations: 11.98 kB / 0.8931 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.01552, allocations: 7.938 kB / 0.8931 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01553, allocations: 4 kB / 0.8931 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.01583, allocations: 390.4 kB / 0.8935 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.0159, allocations: 79.47 kB / 0.8936 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.01594, allocations: 16 kB / 0.8936 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.01608, allocations: 11.98 kB / 0.8936 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.01611, allocations: 31.84 kB / 0.8936 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.01612, allocations: 12 kB / 0.8936 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000558/0.01668, allocations: 0.6316 MB / 0.8943 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01668, allocations: 4 kB / 0.8943 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003319/0.01701, allocations: 175.8 kB / 0.8944 GB, free: 6.168 MB / 0.8542 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.0002133/0.01723, allocations: 175 kB / 0.8946 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.01744, allocations: 155.7 kB / 0.8948 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01744, allocations: 3.938 kB / 0.8948 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.01751, allocations: 68.33 kB / 0.8948 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.01795, allocations: 189 kB / 0.895 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.01944, allocations: 1.348 MB / 0.8963 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.01957, allocations: 213.2 kB / 0.8965 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.0197, allocations: 72.38 kB / 0.8966 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.01997, allocations: 222.1 kB / 0.8968 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.01997, allocations: 0 / 0.8968 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of Templates: time 0.01384/0.03381, allocations: 11.82 MB / 0.9084 GB, free: 8.008 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.648841095622629]