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.0009442/0.0009442, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001193/0.001193, allocations: 161 kB / 24.17 MB, free: 332 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.9211/0.9211, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.503e-06/1.503e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.242e-05, allocations: 6.25 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002895/0.002917, allocations: 2.219 MB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.004996, allocations: 1.379 MB / 0.7636 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.005102, allocations: 0 / 0.7636 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.005663, allocations: 251.7 kB / 0.7638 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008616/0.006524, allocations: 457.2 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.054e-06/0.006531, allocations: 0 / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.00689, allocations: 402.3 kB / 0.7646 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.006941, allocations: 19.73 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.007109, allocations: 195.4 kB / 0.7648 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.007321, allocations: 175.3 kB / 0.765 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.007352, allocations: 26.75 kB / 0.765 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.007785, allocations: 279.5 kB / 0.7653 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.008048, allocations: 379.2 kB / 0.7656 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.008226, allocations: 203.4 kB / 0.7658 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.009075, allocations: 0.6344 MB / 0.7665 GB, free: 76 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.009077, allocations: 0 / 0.7665 GB, free: 76 kB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.009078, allocations: 0 / 0.7665 GB, free: 76 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.009083, allocations: 6.406 kB / 0.7665 GB, free: 72 kB / 0.7136 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.0008123/0.009895, allocations: 0.8319 MB / 0.7673 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.009925, allocations: 8.031 kB / 0.7673 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.01027, allocations: 108.8 kB / 0.7674 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.01073, allocations: 485.7 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.01075, allocations: 13.41 kB / 0.7679 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.01078, allocations: 20.31 kB / 0.7679 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.011, allocations: 153.6 kB / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.01101, allocations: 192 / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.01103, allocations: 8.375 kB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.01104, allocations: 7.938 kB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.01122, allocations: 112.8 kB / 0.7682 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.01216, allocations: 0.6532 MB / 0.7688 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.01242, allocations: 150.4 kB / 0.7689 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.01249, allocations: 40.84 kB / 0.769 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.01252, allocations: 27.92 kB / 0.769 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.01255, allocations: 36.34 kB / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.01255, allocations: 0 / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0002813/0.01283, allocations: 151.4 kB / 0.7692 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.01286, allocations: 51.41 kB / 0.7692 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.01358, allocations: 0.8736 MB / 0.7701 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.0136, allocations: 29.7 kB / 0.7701 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01372, allocations: 206 kB / 0.7703 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.01376, allocations: 64.36 kB / 0.7704 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.01384, allocations: 57.61 kB / 0.7704 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.01392, allocations: 318 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.01403, allocations: 53.59 kB / 0.7708 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.01412, allocations: 77.61 kB / 0.7708 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.01428, allocations: 136.3 kB / 0.771 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01428, allocations: 0 / 0.771 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002384/0.01452, allocations: 203.7 kB / 0.7712 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.01453, allocations: 10.44 kB / 0.7712 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01454, allocations: 3.984 kB / 0.7712 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01455, allocations: 0 / 0.7712 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.0147, allocations: 59.91 kB / 0.7712 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01471, allocations: 0 / 0.7712 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01483, allocations: 36.77 kB / 0.7713 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01484, allocations: 4 kB / 0.7713 GB, free: 10.96 MB / 0.7292 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.083e-05/0.01493, allocations: 134.9 kB / 0.7714 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.01498, allocations: 35.95 kB / 0.7714 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.01519, allocations: 174.1 kB / 0.7716 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01519, allocations: 8.812 kB / 0.7716 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01519, allocations: 0 / 0.7716 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.0152, allocations: 7.922 kB / 0.7716 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.01594, allocations: 0.8825 MB / 0.7725 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01594, allocations: 4 kB / 0.7725 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.01604, allocations: 49.02 kB / 0.7725 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.01604, allocations: 8 kB / 0.7725 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01605, allocations: 8.906 kB / 0.7726 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.01606, allocations: 15.92 kB / 0.7726 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01606, allocations: 4 kB / 0.7726 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.01655, allocations: 327.8 kB / 0.7729 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.01661, allocations: 75.48 kB / 0.773 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.01666, allocations: 8 kB / 0.773 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.01678, allocations: 16.67 kB / 0.773 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.0168, allocations: 23.86 kB / 0.773 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01682, allocations: 12.55 kB / 0.773 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003271/0.01714, allocations: 0.5138 MB / 0.7735 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01714, allocations: 0 / 0.7735 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003104/0.01745, allocations: 175.8 kB / 0.7737 GB, free: 8.293 MB / 0.7292 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.0002216/0.01768, allocations: 168.2 kB / 0.7738 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.01787, allocations: 139.3 kB / 0.774 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.01788, allocations: 8 kB / 0.774 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.01794, allocations: 61.3 kB / 0.774 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.01836, allocations: 191.4 kB / 0.7742 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.01983, allocations: 1.319 MB / 0.7755 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01995, allocations: 209.4 kB / 0.7757 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.02009, allocations: 70.14 kB / 0.7758 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.02036, allocations: 189.2 kB / 0.776 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.02036, allocations: 1 kB / 0.776 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of Templates: time 0.01513/0.0355, allocations: 11.6 MB / 0.7873 GB, free: 10.61 MB / 0.7448 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.0026597417891026]