Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001598/0.001598, 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.001853/0.001853, 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.9089/0.9089, allocations: 177.2 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 1.988/1.988, allocations: 429.5 MB / 0.6733 GB, free: 4.004 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.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.662e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1352/0.1352, allocations: 161.5 MB / 1.036 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1454, allocations: 9.375 MB / 1.045 GB, free: 10.89 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.1467, allocations: 103.2 kB / 1.045 GB, free: 10.79 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.1481, allocations: 0.7764 MB / 1.046 GB, free: 10.01 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.1516, allocations: 2.425 MB / 1.048 GB, free: 7.574 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.1544, allocations: 1.86 MB / 1.05 GB, free: 5.715 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004291/0.1587, allocations: 4.242 MB / 1.054 GB, free: 1.457 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1601, allocations: 1.174 MB / 1.055 GB, free: 260 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4023/0.5624, allocations: 2.262 MB / 1.058 GB, free: 53.33 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.564, allocations: 1.232 MB / 1.059 GB, free: 53.33 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.5643, allocations: 178.5 kB / 1.059 GB, free: 53.33 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.5664, allocations: 1.29 MB / 1.06 GB, free: 53.33 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006126/0.567, allocations: 1.032 MB / 1.061 GB, free: 53.33 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.5679, allocations: 0.8911 MB / 1.062 GB, free: 53.33 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.571, allocations: 2.768 MB / 1.065 GB, free: 53.16 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.571, allocations: 3.031 kB / 1.065 GB, free: 53.16 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.294e-06/0.571, allocations: 0 / 1.065 GB, free: 53.16 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.732e-05/0.5711, allocations: 1.859 kB / 1.065 GB, free: 53.16 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003018/0.5741, allocations: 3.202 MB / 1.068 GB, free: 51.48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.5741, allocations: 8.688 kB / 1.068 GB, free: 51.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.5759, allocations: 0.8026 MB / 1.069 GB, free: 51.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5775, allocations: 1.844 MB / 1.07 GB, free: 50.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.5776, allocations: 155.3 kB / 1.071 GB, free: 50.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5777, allocations: 120.8 kB / 1.071 GB, free: 50.67 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.579, allocations: 1.244 MB / 1.072 GB, free: 50.22 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.579, allocations: 0.75 kB / 1.072 GB, free: 50.22 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.5791, allocations: 43.22 kB / 1.072 GB, free: 50.22 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.5791, allocations: 47.02 kB / 1.072 GB, free: 50.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.5801, allocations: 0.7165 MB / 1.073 GB, free: 50.13 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.5845, allocations: 5.439 MB / 1.078 GB, free: 48.17 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/0.5854, allocations: 0.6044 MB / 1.079 GB, free: 48.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.5859, allocations: 367.6 kB / 1.079 GB, free: 47.99 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.5861, allocations: 123.3 kB / 1.079 GB, free: 47.99 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004732/0.5866, allocations: 0.5694 MB / 1.08 GB, free: 47.68 MB / 1.01 GB Notification: Performance of pre-optimization done (n=89): time 2.345e-06/0.5866, allocations: 0.875 kB / 1.08 GB, free: 47.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=89): time 0.005925/0.5925, allocations: 2.635 MB / 1.082 GB, free: 47.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.5925, allocations: 150.1 kB / 1.082 GB, free: 47.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.5945, allocations: 2.366 MB / 1.085 GB, free: 46.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.5946, allocations: 46.33 kB / 1.085 GB, free: 46.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.5951, allocations: 1.182 MB / 1.086 GB, free: 46.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.5953, allocations: 300.1 kB / 1.086 GB, free: 46.24 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.5956, allocations: 254.6 kB / 1.086 GB, free: 46.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.5956, allocations: 0.5216 MB / 1.087 GB, free: 45.72 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.596, allocations: 287.2 kB / 1.087 GB, free: 45.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.5966, allocations: 0.9336 MB / 1.088 GB, free: 44.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/0.5975, allocations: 1.011 MB / 1.089 GB, free: 44.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5975, allocations: 2.344 kB / 1.089 GB, free: 44.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001715/0.5992, allocations: 1.394 MB / 1.09 GB, free: 43.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.5993, allocations: 71.42 kB / 1.091 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5993, allocations: 11.5 kB / 1.091 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.6004, allocations: 0.5982 MB / 1.091 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.601, allocations: 227.6 kB / 1.091 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.6023, allocations: 3.055 MB / 1.094 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.603, allocations: 166.2 kB / 1.095 GB, free: 41.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.6031, allocations: 66.91 kB / 1.095 GB, free: 41.19 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 103 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.6034, allocations: 295.3 kB / 1.095 GB, free: 40.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.6037, allocations: 273.3 kB / 1.095 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.6055, allocations: 1.308 MB / 1.096 GB, free: 40.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6056, allocations: 9.344 kB / 1.096 GB, free: 40.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6056, allocations: 2.125 kB / 1.096 GB, free: 40.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6056, allocations: 5.812 kB / 1.096 GB, free: 40.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.6093, allocations: 3.134 MB / 1.099 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6094, allocations: 6.25 kB / 1.099 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.6097, allocations: 112.4 kB / 1.1 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.6107, allocations: 0.5854 MB / 1.1 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.6108, allocations: 27.45 kB / 1.1 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.612, allocations: 3.062 MB / 1.103 GB, free: 37.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.612, allocations: 2.656 kB / 1.103 GB, free: 37.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.6139, allocations: 1.495 MB / 1.105 GB, free: 36.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.6143, allocations: 416.2 kB / 1.105 GB, free: 36.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.6145, allocations: 32.38 kB / 1.105 GB, free: 36.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.615, allocations: 76.42 kB / 1.105 GB, free: 36.52 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6152, allocations: 65 kB / 1.105 GB, free: 36.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.6152, allocations: 48.11 kB / 1.105 GB, free: 36.52 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001407/0.6166, allocations: 1.458 MB / 1.107 GB, free: 36.33 MB / 1.01 GB Notification: Performance of sort global known variables: time 2e-07/0.6166, allocations: 0 / 1.107 GB, free: 36.33 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00124/0.6179, allocations: 0.6913 MB / 1.107 GB, free: 36.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005655/0.6184, allocations: 381.2 kB / 1.108 GB, free: 36.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.6199, allocations: 1.184 MB / 1.109 GB, free: 35.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6199, allocations: 0 / 1.109 GB, free: 35.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.6206, allocations: 0.7288 MB / 1.11 GB, free: 35.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.6225, allocations: 0.8447 MB / 1.11 GB, free: 35.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.6273, allocations: 3.929 MB / 1.114 GB, free: 33.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.6278, allocations: 0.4958 MB / 1.115 GB, free: 33.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008895/0.6287, allocations: 312.5 kB / 1.115 GB, free: 33.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.629, allocations: 134.9 kB / 1.115 GB, free: 33.22 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.629, allocations: 0.9062 kB / 1.115 GB, free: 33.22 MB / 1.01 GB Notification: Performance of Templates: time 0.04516/0.6742, allocations: 44.1 MB / 1.158 GB, free: 26.84 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.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: 6.606046508066356]