Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001456/0.001456, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001455/0.001455, allocations: 161 kB / 23.82 MB, free: 0.75 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.9821/0.9821, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.943/1.943, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.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_12_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_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.398e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1457/0.1458, allocations: 161.3 MB / 0.9691 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1579, allocations: 8.416 MB / 0.9773 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.1602, allocations: 95.25 kB / 0.9774 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.162, allocations: 0.7688 MB / 0.9781 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.167, allocations: 2.406 MB / 0.9805 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.1698, allocations: 1.513 MB / 0.982 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005054/0.1749, allocations: 4.207 MB / 0.9861 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.1767, allocations: 1.196 MB / 0.9872 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.1803, allocations: 1.989 MB / 0.9892 GB, free: 11.22 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.1825, allocations: 1.273 MB / 0.9904 GB, free: 9.949 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.1829, allocations: 180 kB / 0.9906 GB, free: 9.773 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.1851, allocations: 1.411 MB / 0.992 GB, free: 8.359 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006845/0.1858, allocations: 1.028 MB / 0.993 GB, free: 7.328 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009402/0.1868, allocations: 0.8845 MB / 0.9938 GB, free: 6.441 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.1906, allocations: 2.807 MB / 0.9966 GB, free: 3.625 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1906, allocations: 0 / 0.9966 GB, free: 3.625 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1906, allocations: 0 / 0.9966 GB, free: 3.625 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.262e-05/0.1907, allocations: 0 / 0.9966 GB, free: 3.625 MB / 0.948 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.003927/0.1946, allocations: 3.178 MB / 0.9997 GB, free: 388 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1946, allocations: 8.031 kB / 0.9997 GB, free: 380 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.197, allocations: 0.8215 MB / 1 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.1994, allocations: 1.873 MB / 1.002 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1995, allocations: 141.5 kB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1997, allocations: 115.9 kB / 1.003 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.2015, allocations: 1.244 MB / 1.004 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2015, allocations: 0 / 1.004 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.2016, allocations: 47.98 kB / 1.004 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.2017, allocations: 42.08 kB / 1.004 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2028, allocations: 0.7336 MB / 1.005 GB, free: 11.12 MB / 0.9636 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.006466/0.2093, allocations: 5.409 MB / 1.01 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.2107, allocations: 0.6199 MB / 1.01 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.2112, allocations: 365.9 kB / 1.011 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.2115, allocations: 120.6 kB / 1.011 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006066/0.2121, allocations: 0.5828 MB / 1.012 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=91): time 3.828e-06/0.2121, allocations: 0 / 1.012 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=91): time 0.008005/0.2201, allocations: 3.042 MB / 1.014 GB, free: 0.7031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.2202, allocations: 149.2 kB / 1.015 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.2224, allocations: 2.309 MB / 1.017 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.2225, allocations: 53.67 kB / 1.017 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000953/0.2235, allocations: 1.146 MB / 1.018 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.2237, allocations: 313.4 kB / 1.018 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.2239, allocations: 224.2 kB / 1.019 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2241, allocations: 0.516 MB / 1.019 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.2245, allocations: 277.6 kB / 1.019 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.2251, allocations: 0.7697 MB / 1.02 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.2263, allocations: 0.8087 MB / 1.021 GB, free: 9.777 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.2264, allocations: 4 kB / 1.021 GB, free: 9.773 MB / 0.9792 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002854/0.2292, allocations: 1.493 MB / 1.022 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/0.2293, allocations: 72.64 kB / 1.022 GB, free: 8.145 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2293, allocations: 4 kB / 1.022 GB, free: 8.141 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.2312, allocations: 0.8893 MB / 1.023 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.2317, allocations: 163.8 kB / 1.023 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.2354, allocations: 5.899 MB / 1.029 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.2364, allocations: 147.3 kB / 1.029 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.2365, allocations: 51.92 kB / 1.029 GB, free: 0.6758 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (84): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004665/0.237, allocations: 303.4 kB / 1.03 GB, free: 364 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.2372, allocations: 266.5 kB / 1.03 GB, free: 96 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.2397, allocations: 1.473 MB / 1.031 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.2397, allocations: 8 kB / 1.031 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2397, allocations: 0 / 1.031 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2397, allocations: 3.984 kB / 1.031 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.2443, allocations: 3.23 MB / 1.035 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.2443, allocations: 7.984 kB / 1.035 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.2446, allocations: 91.89 kB / 1.035 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.2464, allocations: 0.8773 MB / 1.035 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.2464, allocations: 27.98 kB / 1.036 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.2498, allocations: 5.866 MB / 1.041 GB, free: 4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2498, allocations: 7.938 kB / 1.041 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.2524, allocations: 1.681 MB / 1.043 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/0.2531, allocations: 422 kB / 1.043 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.2532, allocations: 24 kB / 1.043 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.2539, allocations: 79.92 kB / 1.043 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.254, allocations: 76.41 kB / 1.043 GB, free: 1.613 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.2541, allocations: 40.22 kB / 1.043 GB, free: 1.574 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001462/0.2555, allocations: 1.444 MB / 1.045 GB, free: 120 kB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2555, allocations: 0 / 1.045 GB, free: 120 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001829/0.2574, allocations: 0.7098 MB / 1.046 GB, free: 15.41 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 (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009007/0.2583, allocations: 399.5 kB / 1.046 GB, free: 15.01 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002704/0.261, allocations: 1.341 MB / 1.047 GB, free: 13.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.261, allocations: 4 kB / 1.047 GB, free: 13.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.2624, allocations: 0.9249 MB / 1.048 GB, free: 12.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.2659, allocations: 0.8568 MB / 1.049 GB, free: 11.72 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/0.2741, allocations: 3.863 MB / 1.053 GB, free: 7.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.2747, allocations: 0.4901 MB / 1.053 GB, free: 7.234 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00128/0.276, allocations: 295.5 kB / 1.054 GB, free: 6.941 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.2764, allocations: 124.5 kB / 1.054 GB, free: 6.816 MB / 1.01 GB Notification: Performance of SimCode: time 2.024e-06/0.2764, allocations: 4 kB / 1.054 GB, free: 6.812 MB / 1.01 GB Notification: Performance of Templates: time 0.4282/0.7046, allocations: 43.24 MB / 1.096 GB, free: 118.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.948680432047695]