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.0008932/0.0008932, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009338/0.0009338, allocations: 165 kB / 23.27 MB, free: 1.219 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.8964/0.8964, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.311/2.311, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.533e-06/1.533e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.727e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1373/0.1373, allocations: 158.4 MB / 1.044 GB, free: 10.71 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.1491, allocations: 9.285 MB / 1.054 GB, free: 1.402 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.1506, allocations: 103.2 kB / 1.054 GB, free: 1.301 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1518, allocations: 0.7764 MB / 1.054 GB, free: 0.5195 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.4196/0.5714, allocations: 2.42 MB / 1.057 GB, free: 50.66 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.5747, allocations: 1.846 MB / 1.059 GB, free: 50.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00422/0.5789, allocations: 4.252 MB / 1.063 GB, free: 50.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.5803, allocations: 1.18 MB / 1.064 GB, free: 50.25 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.583, allocations: 2.259 MB / 1.066 GB, free: 50.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.5843, allocations: 1.24 MB / 1.067 GB, free: 49.9 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.5845, allocations: 177.5 kB / 1.067 GB, free: 49.9 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.5861, allocations: 1.286 MB / 1.069 GB, free: 49.86 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.5866, allocations: 1.036 MB / 1.07 GB, free: 49.72 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007292/0.5873, allocations: 0.8906 MB / 1.071 GB, free: 49.61 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.5896, allocations: 2.767 MB / 1.073 GB, free: 49.21 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5896, allocations: 1.094 kB / 1.073 GB, free: 49.21 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5896, allocations: 0 / 1.073 GB, free: 49.21 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.722e-05/0.5896, allocations: 0 / 1.073 GB, free: 49.21 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.00256/0.5922, allocations: 3.218 MB / 1.076 GB, free: 47.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.5922, allocations: 13.28 kB / 1.076 GB, free: 47.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.5939, allocations: 0.8056 MB / 1.077 GB, free: 47.33 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5952, allocations: 1.744 MB / 1.079 GB, free: 46.77 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.5953, allocations: 160 kB / 1.079 GB, free: 46.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5954, allocations: 120.6 kB / 1.079 GB, free: 46.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5964, allocations: 1.153 MB / 1.08 GB, free: 46.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5964, allocations: 5.969 kB / 1.08 GB, free: 46.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.5965, allocations: 45.84 kB / 1.08 GB, free: 46.25 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.5965, allocations: 43.47 kB / 1.08 GB, free: 46.24 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.5971, allocations: 0.5929 MB / 1.081 GB, free: 46.14 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.003941/0.6011, allocations: 5.06 MB / 1.086 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.6018, allocations: 0.5452 MB / 1.086 GB, free: 44.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.6022, allocations: 325.8 kB / 1.087 GB, free: 44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.6024, allocations: 142.8 kB / 1.087 GB, free: 44 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/0.6029, allocations: 0.5349 MB / 1.087 GB, free: 43.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=89): time 2.064e-06/0.6029, allocations: 0 / 1.087 GB, free: 43.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=89): time 0.005916/0.6088, allocations: 2.514 MB / 1.09 GB, free: 43.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.6089, allocations: 148.7 kB / 1.09 GB, free: 43.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.6111, allocations: 2.238 MB / 1.092 GB, free: 42.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.149e-05/0.6112, allocations: 49.45 kB / 1.092 GB, free: 42.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/0.6118, allocations: 1.196 MB / 1.093 GB, free: 42.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.612, allocations: 302.5 kB / 1.094 GB, free: 42.24 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.6123, allocations: 252.8 kB / 1.094 GB, free: 42.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.6124, allocations: 0.5328 MB / 1.094 GB, free: 41.72 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.6128, allocations: 260 kB / 1.095 GB, free: 41.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/0.6133, allocations: 0.9175 MB / 1.096 GB, free: 40.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.6142, allocations: 0.9659 MB / 1.097 GB, free: 40.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.6142, allocations: 2.688 kB / 1.097 GB, free: 40.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001646/0.6159, allocations: 1.319 MB / 1.098 GB, free: 39.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.6159, allocations: 79.56 kB / 1.098 GB, free: 39.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6159, allocations: 11.72 kB / 1.098 GB, free: 39.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6171, allocations: 0.579 MB / 1.099 GB, free: 39.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.6176, allocations: 224.2 kB / 1.099 GB, free: 39.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.619, allocations: 3.01 MB / 1.102 GB, free: 37.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.6199, allocations: 163.7 kB / 1.102 GB, free: 37.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.62, allocations: 53.39 kB / 1.102 GB, free: 37.21 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.0004459/0.6204, allocations: 304.8 kB / 1.102 GB, free: 36.98 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.6208, allocations: 270.9 kB / 1.102 GB, free: 36.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.6227, allocations: 1.214 MB / 1.104 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.6227, allocations: 10.5 kB / 1.104 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6227, allocations: 1.25 kB / 1.104 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6228, allocations: 4.781 kB / 1.104 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.6265, allocations: 2.687 MB / 1.106 GB, free: 35.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.6265, allocations: 3.062 kB / 1.106 GB, free: 35.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.6269, allocations: 114 kB / 1.106 GB, free: 35.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.628, allocations: 0.5642 MB / 1.107 GB, free: 35.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.628, allocations: 33.92 kB / 1.107 GB, free: 35.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.6293, allocations: 2.997 MB / 1.11 GB, free: 33.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.6293, allocations: 7.625 kB / 1.11 GB, free: 33.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.631, allocations: 1.409 MB / 1.111 GB, free: 32.74 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.6315, allocations: 404.4 kB / 1.112 GB, free: 32.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.6317, allocations: 22.5 kB / 1.112 GB, free: 32.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.6323, allocations: 77.25 kB / 1.112 GB, free: 32.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6324, allocations: 74.33 kB / 1.112 GB, free: 32.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.6325, allocations: 38.56 kB / 1.112 GB, free: 32.59 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001501/0.634, allocations: 1.309 MB / 1.113 GB, free: 32.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.634, allocations: 1.344 kB / 1.113 GB, free: 32.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001653/0.6356, allocations: 0.6917 MB / 1.114 GB, free: 32.32 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.0005869/0.6362, allocations: 386.5 kB / 1.114 GB, free: 32.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6377, allocations: 1.115 MB / 1.115 GB, free: 31.74 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6377, allocations: 2 kB / 1.115 GB, free: 31.74 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.6384, allocations: 0.6856 MB / 1.116 GB, free: 31.37 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.6406, allocations: 0.8486 MB / 1.117 GB, free: 31.26 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.6463, allocations: 3.922 MB / 1.121 GB, free: 29.42 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.6469, allocations: 0.4916 MB / 1.121 GB, free: 29.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008588/0.6477, allocations: 285.1 kB / 1.121 GB, free: 29.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.6493, allocations: 0.7719 MB / 1.122 GB, free: 29.16 MB / 1.01 GB Notification: Performance of SimCode: time 8.22e-07/0.6493, allocations: 0 / 1.122 GB, free: 29.16 MB / 1.01 GB Notification: Performance of Templates: time 0.05035/0.6997, allocations: 44.68 MB / 1.166 GB, free: 21.08 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.758197464980185]