Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001428/0.001428, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001568/0.001568, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9271/0.9271, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.893/1.893, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.218e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00242/0.002442, allocations: 2.219 MB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.004012, allocations: 1.349 MB / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.004088, allocations: 0.5312 kB / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.004537, allocations: 242.9 kB / 0.8165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006439/0.005181, allocations: 449.9 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.85e-06/0.005186, allocations: 0 / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.005451, allocations: 406.3 kB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.005491, allocations: 17.73 kB / 0.8173 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.005614, allocations: 183.5 kB / 0.8175 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.005784, allocations: 187.3 kB / 0.8177 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.005808, allocations: 25.38 kB / 0.8177 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.006411, allocations: 287.5 kB / 0.818 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.006615, allocations: 383.2 kB / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.006746, allocations: 199.4 kB / 0.8186 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.00722, allocations: 0.6355 MB / 0.8192 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007223, allocations: 0 / 0.8192 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.007224, allocations: 0 / 0.8192 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.007229, allocations: 0.625 kB / 0.8192 GB, free: 10.89 MB / 0.7761 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.0007069/0.007936, allocations: 1.012 MB / 0.8202 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.007963, allocations: 12.03 kB / 0.8202 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.008282, allocations: 134.8 kB / 0.8203 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.008622, allocations: 473 kB / 0.8208 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.008637, allocations: 12.38 kB / 0.8208 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.008655, allocations: 12.38 kB / 0.8208 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.008864, allocations: 157.1 kB / 0.8209 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.008872, allocations: 192 / 0.8209 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.008887, allocations: 10.5 kB / 0.8209 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.008893, allocations: 7.938 kB / 0.8209 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.009057, allocations: 132.9 kB / 0.8211 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.00996, allocations: 0.9414 MB / 0.822 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.01019, allocations: 131.8 kB / 0.8221 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.01026, allocations: 51.64 kB / 0.8222 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.01029, allocations: 27.98 kB / 0.8222 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.01031, allocations: 37.39 kB / 0.8222 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.01031, allocations: 0.5 kB / 0.8222 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002852/0.01059, allocations: 212.5 kB / 0.8224 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.01062, allocations: 56.75 kB / 0.8225 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.01124, allocations: 0.9717 MB / 0.8234 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.01125, allocations: 29.7 kB / 0.8235 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.01147, allocations: 415.3 kB / 0.8239 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.0115, allocations: 71.41 kB / 0.8239 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.01158, allocations: 67.91 kB / 0.824 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01168, allocations: 493.1 kB / 0.8245 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.01177, allocations: 55.95 kB / 0.8245 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01187, allocations: 87.95 kB / 0.8246 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01204, allocations: 148.1 kB / 0.8247 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01205, allocations: 0 / 0.8247 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003509/0.0124, allocations: 273.2 kB / 0.825 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01241, allocations: 6.344 kB / 0.825 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01241, allocations: 0 / 0.825 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.01242, allocations: 4 kB / 0.825 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01259, allocations: 55.91 kB / 0.8251 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.0126, allocations: 10.16 kB / 0.8251 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.01274, allocations: 27.83 kB / 0.8251 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01275, allocations: 11.98 kB / 0.8251 GB, free: 4.621 MB / 0.7761 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 9.787e-05/0.01285, allocations: 164.5 kB / 0.8253 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.01292, allocations: 80.47 kB / 0.8253 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.01317, allocations: 200.9 kB / 0.8255 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01318, allocations: 7.984 kB / 0.8255 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01318, allocations: 1.125 kB / 0.8255 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.01318, allocations: 7.922 kB / 0.8256 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.01406, allocations: 1.037 MB / 0.8266 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01407, allocations: 6.125 kB / 0.8266 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01418, allocations: 43.97 kB / 0.8266 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.01419, allocations: 8 kB / 0.8266 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.0142, allocations: 7.938 kB / 0.8266 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.0142, allocations: 11.98 kB / 0.8266 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.01421, allocations: 5.562 kB / 0.8266 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.01449, allocations: 399.8 kB / 0.827 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.01455, allocations: 75.48 kB / 0.8271 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.0146, allocations: 8 kB / 0.8271 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.01475, allocations: 19.98 kB / 0.8271 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.01477, allocations: 20.36 kB / 0.8271 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01479, allocations: 16.61 kB / 0.8272 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003668/0.01515, allocations: 0.6394 MB / 0.8278 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.01515, allocations: 4 kB / 0.8278 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003418/0.01549, allocations: 171.9 kB / 0.828 GB, free: 1.496 MB / 0.7761 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.0002145/0.01571, allocations: 179 kB / 0.8281 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.01592, allocations: 148 kB / 0.8283 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01592, allocations: 4 kB / 0.8283 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.01599, allocations: 63.84 kB / 0.8283 GB, free: 1.094 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.01644, allocations: 181.4 kB / 0.8285 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.01791, allocations: 1.349 MB / 0.8298 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.01804, allocations: 212.9 kB / 0.83 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.01818, allocations: 68.39 kB / 0.8301 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.01846, allocations: 230 kB / 0.8303 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of SimCode: time 9.41e-07/0.01846, allocations: 3.938 kB / 0.8303 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.01316/0.03162, allocations: 11.81 MB / 0.8418 GB, free: 3.367 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.085613895673305]