Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001473/0.001473, allocations: 93.06 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.001508/0.001508, allocations: 165 kB / 23.01 MB, free: 1.555 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.9724/0.9724, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.108/2.108, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.229e-05, allocations: 3 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004223/0.004255, allocations: 2.244 MB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.006796, allocations: 1.372 MB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.006911, allocations: 4.656 kB / 0.8817 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.007642, allocations: 246.9 kB / 0.882 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.008761, allocations: 446.3 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.464e-06/0.008768, allocations: 0 / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.00921, allocations: 402.3 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.009266, allocations: 16.58 kB / 0.8828 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.009507, allocations: 191.5 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.009763, allocations: 187.3 kB / 0.8831 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.009804, allocations: 20 kB / 0.8832 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.01035, allocations: 279.6 kB / 0.8834 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.01067, allocations: 391 kB / 0.8838 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.0109, allocations: 191.5 kB / 0.884 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.01175, allocations: 0.6344 MB / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.01175, allocations: 0 / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.814e-06/0.01175, allocations: 0 / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.01176, allocations: 0 / 0.8846 GB, free: 15.72 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.001273/0.01304, allocations: 1.019 MB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.01309, allocations: 12.03 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.01364, allocations: 136.3 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/0.01461, allocations: 0.5049 MB / 0.8862 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.01463, allocations: 16.31 kB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.01467, allocations: 12.38 kB / 0.8863 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.01507, allocations: 168.2 kB / 0.8864 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.01508, allocations: 4.188 kB / 0.8864 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.01511, allocations: 8.375 kB / 0.8864 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.01512, allocations: 7.938 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.01549, allocations: 160.5 kB / 0.8866 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.01724, allocations: 1.062 MB / 0.8876 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.01769, allocations: 151.1 kB / 0.8878 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.01783, allocations: 55.66 kB / 0.8878 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.01789, allocations: 27.98 kB / 0.8879 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.01792, allocations: 41.39 kB / 0.8879 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.01792, allocations: 0 / 0.8879 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0005964/0.01852, allocations: 231.8 kB / 0.8881 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.01856, allocations: 59.34 kB / 0.8882 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.01982, allocations: 1.042 MB / 0.8892 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.01984, allocations: 29.7 kB / 0.8892 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.02019, allocations: 410.9 kB / 0.8896 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.02025, allocations: 67.42 kB / 0.8897 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.02037, allocations: 63.31 kB / 0.8897 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.02052, allocations: 0.4887 MB / 0.8902 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.02069, allocations: 67.95 kB / 0.8903 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.02088, allocations: 88.83 kB / 0.8904 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.0212, allocations: 147.9 kB / 0.8905 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0212, allocations: 0 / 0.8905 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005682/0.02177, allocations: 293.1 kB / 0.8908 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.02179, allocations: 4 kB / 0.8908 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.02179, allocations: 0 / 0.8908 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.02181, allocations: 4 kB / 0.8908 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.02213, allocations: 67.88 kB / 0.8909 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.02214, allocations: 4 kB / 0.8909 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.02241, allocations: 27.83 kB / 0.8909 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.02244, allocations: 15.98 kB / 0.8909 GB, free: 9.055 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.0001425/0.02258, allocations: 164.5 kB / 0.8911 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.0227, allocations: 71.58 kB / 0.8911 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.02317, allocations: 209.8 kB / 0.8913 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.02318, allocations: 4 kB / 0.8913 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.02318, allocations: 7.922 kB / 0.8913 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02319, allocations: 3.938 kB / 0.8913 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.02484, allocations: 1.162 MB / 0.8925 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.02485, allocations: 4 kB / 0.8925 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.02507, allocations: 51.89 kB / 0.8925 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.02507, allocations: 4 kB / 0.8925 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.0251, allocations: 8 kB / 0.8925 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.02511, allocations: 19.81 kB / 0.8926 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.02511, allocations: 4.438 kB / 0.8926 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.02591, allocations: 410.2 kB / 0.893 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.02604, allocations: 75.5 kB / 0.893 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.02612, allocations: 15.98 kB / 0.893 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.0264, allocations: 15.94 kB / 0.8931 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.02646, allocations: 31.84 kB / 0.8931 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.02648, allocations: 8 kB / 0.8931 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008415/0.02732, allocations: 0.7177 MB / 0.8938 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.02732, allocations: 4 kB / 0.8938 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006621/0.02798, allocations: 175.8 kB / 0.894 GB, free: 5.676 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.0003746/0.02836, allocations: 179 kB / 0.8941 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.02879, allocations: 155.7 kB / 0.8943 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.02879, allocations: 0 / 0.8943 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.02894, allocations: 71.78 kB / 0.8944 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.02974, allocations: 195.8 kB / 0.8945 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.03232, allocations: 1.348 MB / 0.8959 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.03253, allocations: 209.4 kB / 0.8961 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.03274, allocations: 68.39 kB / 0.8961 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.03287, allocations: 44.48 kB / 0.8962 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.03288, allocations: 0 / 0.8962 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.01461/0.04748, allocations: 10.8 MB / 0.9067 GB, free: 8.691 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.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.609863767866045]