Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009472/0.0009472, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001142/0.001142, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9529/0.9529, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.843/1.843, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.393e-05, allocations: 6.609 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00353/0.003564, allocations: 2.079 MB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.005905, allocations: 1.354 MB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.006035, allocations: 0 / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.006735, allocations: 240.5 kB / 0.8164 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.007812, allocations: 451.9 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.275e-06/0.00782, allocations: 0.7812 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.00826, allocations: 402.4 kB / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.19e-05/0.008322, allocations: 13.48 kB / 0.8172 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.00855, allocations: 187.5 kB / 0.8174 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.008825, allocations: 187.4 kB / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.008866, allocations: 28.47 kB / 0.8176 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.009414, allocations: 284.9 kB / 0.8179 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.009738, allocations: 391.1 kB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.009952, allocations: 191.5 kB / 0.8184 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.01074, allocations: 0.6383 MB / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01075, allocations: 1.281 kB / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01075, allocations: 0 / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.01076, allocations: 0 / 0.819 GB, free: 11.03 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.00128/0.01204, allocations: 1.016 MB / 0.82 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.01209, allocations: 8.031 kB / 0.82 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000544/0.01263, allocations: 130.6 kB / 0.8202 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.01329, allocations: 473.1 kB / 0.8206 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.01332, allocations: 12.38 kB / 0.8206 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.01336, allocations: 17.28 kB / 0.8206 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.01368, allocations: 153 kB / 0.8208 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01369, allocations: 192 / 0.8208 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.01371, allocations: 12.31 kB / 0.8208 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.01372, allocations: 13.22 kB / 0.8208 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.01398, allocations: 136.9 kB / 0.8209 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.01546, allocations: 0.9387 MB / 0.8219 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.01585, allocations: 129.1 kB / 0.822 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.01595, allocations: 59.58 kB / 0.822 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.01599, allocations: 27.92 kB / 0.8221 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.01602, allocations: 37.39 kB / 0.8221 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 3.417e-06/0.01603, allocations: 0.875 kB / 0.8221 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0004659/0.01649, allocations: 207.7 kB / 0.8223 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.01653, allocations: 58.88 kB / 0.8224 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.01759, allocations: 0.9717 MB / 0.8233 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.01762, allocations: 29.7 kB / 0.8233 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.01796, allocations: 418.7 kB / 0.8237 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.01801, allocations: 63.42 kB / 0.8238 GB, free: 6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.01812, allocations: 67.33 kB / 0.8239 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01826, allocations: 496.4 kB / 0.8243 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.01839, allocations: 55.95 kB / 0.8244 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.01854, allocations: 87.25 kB / 0.8245 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.0188, allocations: 143.2 kB / 0.8246 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.0188, allocations: 0 / 0.8246 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005059/0.01931, allocations: 273.1 kB / 0.8249 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01933, allocations: 4 kB / 0.8249 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01933, allocations: 8.594 kB / 0.8249 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01935, allocations: 0 / 0.8249 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.01963, allocations: 65.94 kB / 0.8249 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.01964, allocations: 7.922 kB / 0.8249 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.01988, allocations: 23.84 kB / 0.825 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.0199, allocations: 11.98 kB / 0.825 GB, free: 4.75 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 0.0001427/0.02005, allocations: 171.8 kB / 0.8251 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.02015, allocations: 71.53 kB / 0.8252 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.02052, allocations: 193.2 kB / 0.8254 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.02053, allocations: 7.984 kB / 0.8254 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.02053, allocations: 0 / 0.8254 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.02054, allocations: 4.844 kB / 0.8254 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.02187, allocations: 1.046 MB / 0.8264 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.02188, allocations: 7.984 kB / 0.8264 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.02206, allocations: 43.91 kB / 0.8265 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.02207, allocations: 9.656 kB / 0.8265 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.02209, allocations: 12 kB / 0.8265 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.547e-06/0.0221, allocations: 11.92 kB / 0.8265 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.0221, allocations: 4 kB / 0.8265 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.02256, allocations: 392.6 kB / 0.8269 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.02267, allocations: 79.47 kB / 0.827 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/0.02275, allocations: 8 kB / 0.827 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.023, allocations: 16.98 kB / 0.827 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.02304, allocations: 27.84 kB / 0.827 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.02306, allocations: 13.09 kB / 0.827 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006144/0.02368, allocations: 0.6316 MB / 0.8276 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02368, allocations: 0 / 0.8276 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005896/0.02427, allocations: 172.6 kB / 0.8278 GB, free: 1.641 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.0003104/0.02458, allocations: 182.4 kB / 0.828 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.02492, allocations: 160.8 kB / 0.8281 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.02492, allocations: 0 / 0.8281 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.02503, allocations: 61.69 kB / 0.8282 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.02576, allocations: 187.1 kB / 0.8284 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.02801, allocations: 1.349 MB / 0.8297 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.02822, allocations: 208.9 kB / 0.8299 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.02845, allocations: 72.38 kB / 0.83 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/0.02888, allocations: 226.1 kB / 0.8302 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of SimCode: time 1.213e-06/0.02889, allocations: 0 / 0.8302 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of Templates: time 0.02041/0.04929, allocations: 11.82 MB / 0.8417 GB, free: 3.512 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.166476926766336]