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.001011/0.001011, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009293/0.0009293, allocations: 173 kB / 23.02 MB, free: 1.551 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.8854/0.8854, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.015/2.015, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.763e-06/1.763e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.801e-05, allocations: 3.219 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002931/0.002959, allocations: 2.114 MB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.004918, allocations: 1.369 MB / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.005046, allocations: 0 / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.005635, allocations: 239 kB / 0.8818 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.006506, allocations: 450.3 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.594e-06/0.006514, allocations: 4 kB / 0.8822 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.006875, allocations: 402.3 kB / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.006926, allocations: 16.58 kB / 0.8826 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.007091, allocations: 187.5 kB / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.007269, allocations: 187.4 kB / 0.883 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.007297, allocations: 24 kB / 0.883 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.007732, allocations: 287.5 kB / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.007976, allocations: 383.2 kB / 0.8837 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.008136, allocations: 207.4 kB / 0.8839 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.008803, allocations: 0.6344 MB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.008807, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008808, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.008817, allocations: 0 / 0.8845 GB, free: 15.86 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.0009362/0.009753, allocations: 1.011 MB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.009795, allocations: 12.03 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.01018, allocations: 128.4 kB / 0.8856 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.01066, allocations: 0.5049 MB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.01067, allocations: 12.38 kB / 0.8861 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.01069, allocations: 12.38 kB / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.01098, allocations: 180.2 kB / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.01099, allocations: 192 / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.011, allocations: 8.375 kB / 0.8863 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01101, allocations: 7.938 kB / 0.8863 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.01124, allocations: 168.4 kB / 0.8865 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.01266, allocations: 1.054 MB / 0.8875 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.01298, allocations: 139.2 kB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.01308, allocations: 64.11 kB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.01312, allocations: 23.98 kB / 0.8877 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.01315, allocations: 45.33 kB / 0.8877 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.913e-06/0.01315, allocations: 0 / 0.8877 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0004156/0.01357, allocations: 223.4 kB / 0.888 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.0136, allocations: 59.34 kB / 0.888 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000782/0.01439, allocations: 1.042 MB / 0.889 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01441, allocations: 29.7 kB / 0.8891 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.01465, allocations: 418.9 kB / 0.8895 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.01469, allocations: 63.44 kB / 0.8895 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.01476, allocations: 67.3 kB / 0.8896 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01487, allocations: 492.4 kB / 0.8901 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01498, allocations: 67.97 kB / 0.8901 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01509, allocations: 96.77 kB / 0.8902 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.01528, allocations: 155.8 kB / 0.8904 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01529, allocations: 0 / 0.8904 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003453/0.01563, allocations: 281.1 kB / 0.8906 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01565, allocations: 4 kB / 0.8906 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-06/0.01566, allocations: 4 kB / 0.8906 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01567, allocations: 0 / 0.8906 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.01586, allocations: 79.86 kB / 0.8907 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01587, allocations: 0 / 0.8907 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.01601, allocations: 31.77 kB / 0.8907 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.01603, allocations: 8 kB / 0.8908 GB, free: 9.203 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.0001119/0.01614, allocations: 172.5 kB / 0.8909 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.01621, allocations: 75.58 kB / 0.891 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.01652, allocations: 205.9 kB / 0.8912 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01653, allocations: 4 kB / 0.8912 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01653, allocations: 3.938 kB / 0.8912 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01654, allocations: 3.984 kB / 0.8912 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.01759, allocations: 1.17 MB / 0.8923 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.01759, allocations: 4 kB / 0.8923 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.01772, allocations: 43.91 kB / 0.8924 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.01773, allocations: 11.98 kB / 0.8924 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01774, allocations: 11.98 kB / 0.8924 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.01775, allocations: 11.94 kB / 0.8924 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01775, allocations: 7.938 kB / 0.8924 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.01811, allocations: 398.6 kB / 0.8928 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.01819, allocations: 83.48 kB / 0.8929 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.01824, allocations: 8 kB / 0.8929 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01837, allocations: 19.92 kB / 0.8929 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.01841, allocations: 27.84 kB / 0.8929 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.01842, allocations: 16 kB / 0.893 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004983/0.01892, allocations: 0.7138 MB / 0.8937 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01892, allocations: 0 / 0.8937 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006686/0.01959, allocations: 179.8 kB / 0.8938 GB, free: 5.82 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.0002599/0.01985, allocations: 175 kB / 0.894 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.02013, allocations: 159.7 kB / 0.8941 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02013, allocations: 0 / 0.8941 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.02021, allocations: 68.09 kB / 0.8942 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.02069, allocations: 187 kB / 0.8944 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.02241, allocations: 1.368 MB / 0.8957 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.02255, allocations: 205.4 kB / 0.8959 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.0227, allocations: 72.38 kB / 0.896 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.02279, allocations: 44.48 kB / 0.896 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of SimCode: time 1.192e-06/0.02279, allocations: 0 / 0.896 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of Templates: time 0.01506/0.03785, allocations: 11.57 MB / 0.9073 GB, free: 8.059 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.114364102017134]