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.001412/0.001412, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001718/0.001718, allocations: 173 kB / 23.36 MB, free: 1.133 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.9736/0.9736, allocations: 177.1 MB / 203.8 MB, free: 5.469 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 2.458/2.458, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.532e-06/1.532e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.627e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1466/0.1466, allocations: 160.5 MB / 0.9954 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.1637, allocations: 9.498 MB / 1.005 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.166, allocations: 99.19 kB / 1.005 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.1675, allocations: 0.7881 MB / 1.006 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.1727, allocations: 2.425 MB / 1.008 GB, free: 208 kB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.005144/0.1778, allocations: 1.862 MB / 1.01 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.006744/0.1845, allocations: 4.243 MB / 1.014 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.1868, allocations: 1.186 MB / 1.015 GB, free: 8.852 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006444/0.1933, allocations: 2.254 MB / 1.017 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.1954, allocations: 1.18 MB / 1.018 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.1958, allocations: 176 kB / 1.019 GB, free: 5.266 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.1978, allocations: 1.29 MB / 1.02 GB, free: 3.973 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.1984, allocations: 1.028 MB / 1.021 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008571/0.1993, allocations: 0.8923 MB / 1.022 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.2021, allocations: 2.756 MB / 1.024 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2021, allocations: 3.938 kB / 1.024 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2021, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.2021, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.9948 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.00294/0.205, allocations: 2.967 MB / 1.027 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2051, allocations: 12.62 kB / 1.027 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.2066, allocations: 0.7098 MB / 1.028 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.2082, allocations: 1.522 MB / 1.029 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2083, allocations: 157.5 kB / 1.03 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.2084, allocations: 116 kB / 1.03 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.2098, allocations: 1.147 MB / 1.031 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2098, allocations: 3.938 kB / 1.031 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.2098, allocations: 44 kB / 1.031 GB, free: 8.348 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.2099, allocations: 42.06 kB / 1.031 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.2105, allocations: 0.5167 MB / 1.031 GB, free: 7.754 MB / 0.9948 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.003886/0.2144, allocations: 3.627 MB / 1.035 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.2152, allocations: 0.5392 MB / 1.035 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.2155, allocations: 298.7 kB / 1.036 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.2157, allocations: 124.5 kB / 1.036 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.2162, allocations: 0.5448 MB / 1.036 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 2.114e-06/0.2162, allocations: 0 / 1.036 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=89): time 0.005164/0.2213, allocations: 2.193 MB / 1.039 GB, free: 184 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2214, allocations: 153 kB / 1.039 GB, free: 0 / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.2229, allocations: 2.076 MB / 1.041 GB, free: 13.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.223, allocations: 45.7 kB / 1.041 GB, free: 13.85 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.2234, allocations: 0.6478 MB / 1.041 GB, free: 13.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.2235, allocations: 309.3 kB / 1.042 GB, free: 12.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.2238, allocations: 234.7 kB / 1.042 GB, free: 12.65 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2239, allocations: 357.8 kB / 1.042 GB, free: 12.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.2243, allocations: 248.8 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.2249, allocations: 0.785 MB / 1.043 GB, free: 11.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2259, allocations: 0.8783 MB / 1.044 GB, free: 10.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.2259, allocations: 4 kB / 1.044 GB, free: 10.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001167/0.2271, allocations: 1.013 MB / 1.045 GB, free: 8.984 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.2271, allocations: 83.31 kB / 1.045 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2272, allocations: 8 kB / 1.045 GB, free: 8.883 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009811/0.2281, allocations: 0.5638 MB / 1.046 GB, free: 8.312 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.2286, allocations: 223.6 kB / 1.046 GB, free: 8.094 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.2299, allocations: 2.094 MB / 1.048 GB, free: 5.887 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.2305, allocations: 171.1 kB / 1.048 GB, free: 5.719 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.2306, allocations: 51.98 kB / 1.048 GB, free: 5.668 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.0003194/0.2309, allocations: 255.7 kB / 1.048 GB, free: 5.395 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.2311, allocations: 167.8 kB / 1.049 GB, free: 5.23 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.2324, allocations: 1.008 MB / 1.05 GB, free: 4.176 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2324, allocations: 8 kB / 1.05 GB, free: 4.168 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2324, allocations: 0 / 1.05 GB, free: 4.168 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2324, allocations: 3.984 kB / 1.05 GB, free: 4.164 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/0.2399, allocations: 2.199 MB / 1.052 GB, free: 1.859 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.24, allocations: 7.938 kB / 1.052 GB, free: 1.852 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.2405, allocations: 116.1 kB / 1.052 GB, free: 1.738 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/0.2423, allocations: 0.6362 MB / 1.053 GB, free: 1.094 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.91e-05/0.2424, allocations: 31.98 kB / 1.053 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4278/0.6702, allocations: 2.081 MB / 1.055 GB, free: 60.43 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6702, allocations: 7.953 kB / 1.055 GB, free: 60.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.6724, allocations: 1.108 MB / 1.056 GB, free: 59.96 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.6731, allocations: 305 kB / 1.056 GB, free: 59.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.6734, allocations: 25.38 kB / 1.056 GB, free: 59.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.6741, allocations: 75.02 kB / 1.056 GB, free: 59.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6743, allocations: 72.77 kB / 1.056 GB, free: 59.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.6744, allocations: 33.58 kB / 1.056 GB, free: 59.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001361/0.6757, allocations: 1.101 MB / 1.057 GB, free: 59.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6757, allocations: 0 / 1.057 GB, free: 59.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001583/0.6773, allocations: 0.6865 MB / 1.058 GB, free: 59.88 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.0006602/0.678, allocations: 371.4 kB / 1.058 GB, free: 59.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.6795, allocations: 1.018 MB / 1.059 GB, free: 59.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-05/0.6795, allocations: 23.62 kB / 1.059 GB, free: 59.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.6803, allocations: 0.6015 MB / 1.06 GB, free: 59.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.6827, allocations: 0.8466 MB / 1.061 GB, free: 59.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/0.6887, allocations: 3.876 MB / 1.064 GB, free: 57.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.6892, allocations: 0.4886 MB / 1.065 GB, free: 57.19 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009896/0.6902, allocations: 282 kB / 1.065 GB, free: 57.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.6918, allocations: 0.671 MB / 1.066 GB, free: 57.08 MB / 1.01 GB Notification: Performance of SimCode: time 1.203e-06/0.6918, allocations: 1.125 kB / 1.066 GB, free: 57.08 MB / 1.01 GB Notification: Performance of Templates: time 0.05258/0.7444, allocations: 44.56 MB / 1.109 GB, free: 50.88 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: 7.1215296890586615]