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.001005/0.001005, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001051/0.001051, allocations: 169.9 kB / 24.86 MB, free: 8.895 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.9128/0.9128, allocations: 177.1 MB / 205.3 MB, free: 5.137 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.853/1.853, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.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 1.182e-06/1.182e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.541e-05, allocations: 6.719 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.132/0.132, allocations: 158.3 MB / 0.9674 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1422, allocations: 8.346 MB / 0.9755 GB, free: 10.28 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.1435, allocations: 99.12 kB / 0.9756 GB, free: 10.18 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.1448, allocations: 0.7726 MB / 0.9764 GB, free: 9.402 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.1485, allocations: 2.409 MB / 0.9787 GB, free: 6.98 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.1515, allocations: 1.519 MB / 0.9802 GB, free: 5.461 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.003274/0.1547, allocations: 4.202 MB / 0.9843 GB, free: 1.246 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1558, allocations: 1.196 MB / 0.9855 GB, free: 24 kB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.1582, allocations: 2.213 MB / 0.9876 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1592, allocations: 1.227 MB / 0.9888 GB, free: 12.6 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.1594, allocations: 180 kB / 0.989 GB, free: 12.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1609, allocations: 1.286 MB / 0.9903 GB, free: 11.14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.1614, allocations: 1.024 MB / 0.9913 GB, free: 10.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.1621, allocations: 0.869 MB / 0.9921 GB, free: 9.238 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.1644, allocations: 2.733 MB / 0.9948 GB, free: 6.496 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1644, allocations: 0 / 0.9948 GB, free: 6.496 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1644, allocations: 0 / 0.9948 GB, free: 6.496 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.1644, allocations: 0 / 0.9948 GB, free: 6.496 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.002928/0.1673, allocations: 3.162 MB / 0.9979 GB, free: 3.266 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1674, allocations: 16.03 kB / 0.9979 GB, free: 3.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.1692, allocations: 0.7981 MB / 0.9987 GB, free: 2.449 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.1707, allocations: 1.708 MB / 1 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.171, allocations: 141.5 kB / 1 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.1711, allocations: 112 kB / 1.001 GB, free: 424 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1723, allocations: 1.162 MB / 1.002 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1723, allocations: 7.938 kB / 1.002 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.1724, allocations: 44 kB / 1.002 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.1725, allocations: 46.08 kB / 1.002 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.1732, allocations: 0.5917 MB / 1.002 GB, free: 14.4 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.004519/0.1777, allocations: 5.019 MB / 1.007 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1788, allocations: 0.5419 MB / 1.008 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.1792, allocations: 325.5 kB / 1.008 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.1794, allocations: 116.6 kB / 1.008 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.1799, allocations: 0.5437 MB / 1.009 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=89): time 2.104e-06/0.1799, allocations: 0 / 1.009 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=89): time 0.005967/0.1858, allocations: 2.504 MB / 1.011 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1859, allocations: 141.2 kB / 1.011 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.1875, allocations: 2.179 MB / 1.013 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.1875, allocations: 49.69 kB / 1.014 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.1885, allocations: 1.165 MB / 1.015 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.1886, allocations: 309.3 kB / 1.015 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.1889, allocations: 224.1 kB / 1.015 GB, free: 0.9375 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.189, allocations: 0.5237 MB / 1.016 GB, free: 416 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1893, allocations: 249.6 kB / 1.016 GB, free: 156 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.1899, allocations: 0.754 MB / 1.017 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/0.1906, allocations: 0.765 MB / 1.017 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1906, allocations: 4 kB / 1.017 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001412/0.192, allocations: 1.201 MB / 1.019 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.1921, allocations: 75.27 kB / 1.019 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.517e-06/0.1921, allocations: 8 kB / 1.019 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.1931, allocations: 0.57 MB / 1.019 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.1936, allocations: 191.8 kB / 1.019 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.1954, allocations: 2.995 MB / 1.022 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.196, allocations: 151.3 kB / 1.022 GB, free: 8.965 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.1961, allocations: 47.97 kB / 1.022 GB, free: 8.918 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 (90): * Single equations (assignments): 85 * 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.0003173/0.1964, allocations: 283.6 kB / 1.023 GB, free: 8.617 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.1967, allocations: 270.5 kB / 1.023 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.1984, allocations: 1.205 MB / 1.024 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1984, allocations: 12 kB / 1.024 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.1984, allocations: 0 / 1.024 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.1984, allocations: 7.922 kB / 1.024 GB, free: 7.09 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.2018, allocations: 2.673 MB / 1.027 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2018, allocations: 4 kB / 1.027 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.2021, allocations: 112.2 kB / 1.027 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009592/0.2031, allocations: 0.5732 MB / 1.028 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.2031, allocations: 39.98 kB / 1.028 GB, free: 3.562 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.2047, allocations: 2.978 MB / 1.03 GB, free: 444 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2047, allocations: 12.11 kB / 1.03 GB, free: 432 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2063, allocations: 1.407 MB / 1.032 GB, free: 14.92 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.2068, allocations: 402 kB / 1.032 GB, free: 14.52 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.207, allocations: 24 kB / 1.032 GB, free: 14.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.2075, allocations: 75.94 kB / 1.032 GB, free: 14.43 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.2076, allocations: 76.41 kB / 1.032 GB, free: 14.35 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.2077, allocations: 35.97 kB / 1.032 GB, free: 14.32 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.0008938/0.2086, allocations: 1.28 MB / 1.034 GB, free: 13.02 MB / 0.9949 GB Notification: Performance of sort global known variables: time 8e-08/0.2086, allocations: 4 kB / 1.034 GB, free: 13.02 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.001038/0.2096, allocations: 0.6785 MB / 1.034 GB, free: 12.34 MB / 0.9949 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.000508/0.2101, allocations: 379.6 kB / 1.035 GB, free: 11.96 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.2114, allocations: 1.085 MB / 1.036 GB, free: 10.8 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2115, allocations: 4 kB / 1.036 GB, free: 10.8 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.2121, allocations: 0.6852 MB / 1.036 GB, free: 10.06 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.2138, allocations: 0.8489 MB / 1.037 GB, free: 9.219 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.218, allocations: 3.822 MB / 1.041 GB, free: 5.277 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2184, allocations: 0.4902 MB / 1.041 GB, free: 4.766 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.0005627/0.2189, allocations: 286.4 kB / 1.042 GB, free: 4.484 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.2202, allocations: 0.7593 MB / 1.042 GB, free: 3.723 MB / 0.9949 GB Notification: Performance of SimCode: time 6.32e-07/0.2202, allocations: 0 / 1.042 GB, free: 3.723 MB / 0.9949 GB Notification: Performance of Templates: time 0.3853/0.6055, allocations: 45.22 MB / 1.087 GB, free: 123.1 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.354641810059547]