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.0009369/0.0009369, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009779/0.0009779, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9392/0.9392, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.905/1.905, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.493e-06/1.493e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.706e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1684/0.1684, allocations: 223.3 MB / 1.03 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.1831, allocations: 12.9 MB / 1.042 GB, free: 5.152 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.1846, allocations: 91.25 kB / 1.042 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.1865, allocations: 1.177 MB / 1.043 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.1914, allocations: 3.378 MB / 1.047 GB, free: 496 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.4234/0.6148, allocations: 1.9 MB / 1.049 GB, free: 60.66 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005864/0.6207, allocations: 4.278 MB / 1.053 GB, free: 60.66 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.6221, allocations: 1.199 MB / 1.054 GB, free: 60.58 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.626, allocations: 2.772 MB / 1.057 GB, free: 60.56 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.6275, allocations: 1.268 MB / 1.058 GB, free: 60.42 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6277, allocations: 179.3 kB / 1.058 GB, free: 60.42 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.6308, allocations: 2.31 MB / 1.06 GB, free: 60.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.6314, allocations: 1.032 MB / 1.061 GB, free: 60.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.6321, allocations: 0.8848 MB / 1.062 GB, free: 60.02 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.6355, allocations: 3.257 MB / 1.065 GB, free: 59.69 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6355, allocations: 6.422 kB / 1.065 GB, free: 59.69 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6355, allocations: 0 / 1.065 GB, free: 59.69 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.6355, allocations: 1.031 kB / 1.065 GB, free: 59.69 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.002893/0.6384, allocations: 3.244 MB / 1.069 GB, free: 57.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6385, allocations: 9.75 kB / 1.069 GB, free: 57.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.6405, allocations: 0.823 MB / 1.069 GB, free: 57.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.6423, allocations: 1.855 MB / 1.071 GB, free: 57.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/0.6424, allocations: 149.8 kB / 1.071 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6425, allocations: 111.8 kB / 1.071 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6439, allocations: 1.248 MB / 1.073 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6439, allocations: 0.9688 kB / 1.073 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.644, allocations: 47.75 kB / 1.073 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.644, allocations: 41.39 kB / 1.073 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.6451, allocations: 0.7193 MB / 1.073 GB, free: 56.64 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.004703/0.6498, allocations: 5.421 MB / 1.079 GB, free: 54.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.6511, allocations: 0.6168 MB / 1.079 GB, free: 54.57 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.6517, allocations: 364.3 kB / 1.08 GB, free: 54.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.652, allocations: 159.4 kB / 1.08 GB, free: 54.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.6526, allocations: 0.5847 MB / 1.08 GB, free: 54.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.6526, allocations: 0 / 1.08 GB, free: 54.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91): time 0.009808/0.6624, allocations: 3.044 MB / 1.083 GB, free: 53.78 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6624, allocations: 151.4 kB / 1.083 GB, free: 53.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.665, allocations: 2.307 MB / 1.086 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.6651, allocations: 46.7 kB / 1.086 GB, free: 53.29 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007313/0.6658, allocations: 1.153 MB / 1.087 GB, free: 52.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.666, allocations: 306.4 kB / 1.087 GB, free: 52.76 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.6663, allocations: 221.9 kB / 1.087 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.6664, allocations: 0.5209 MB / 1.088 GB, free: 52.24 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.6669, allocations: 278 kB / 1.088 GB, free: 52.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.6675, allocations: 0.7659 MB / 1.089 GB, free: 51.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.6686, allocations: 0.8118 MB / 1.09 GB, free: 51.19 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.6686, allocations: 1.188 kB / 1.09 GB, free: 51.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003058/0.6717, allocations: 1.495 MB / 1.091 GB, free: 50.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.6717, allocations: 77.17 kB / 1.091 GB, free: 50.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6718, allocations: 5.031 kB / 1.091 GB, free: 50.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/0.6742, allocations: 0.8827 MB / 1.092 GB, free: 50.72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.6748, allocations: 170.7 kB / 1.092 GB, free: 50.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.6782, allocations: 5.917 MB / 1.098 GB, free: 45.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.6792, allocations: 149 kB / 1.098 GB, free: 45.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6793, allocations: 51.86 kB / 1.098 GB, free: 45.59 MB / 0.9948 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.0003832/0.6797, allocations: 294.6 kB / 1.099 GB, free: 45.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/0.68, allocations: 265.5 kB / 1.099 GB, free: 45.23 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006174/0.6862, allocations: 1.469 MB / 1.1 GB, free: 44.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6862, allocations: 9.844 kB / 1.1 GB, free: 44.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6862, allocations: 8.438 kB / 1.1 GB, free: 44.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6862, allocations: 4.359 kB / 1.1 GB, free: 44.96 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.6981, allocations: 3.232 MB / 1.103 GB, free: 44.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6981, allocations: 3.594 kB / 1.103 GB, free: 44.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.6985, allocations: 89.16 kB / 1.103 GB, free: 44.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/0.7038, allocations: 0.8806 MB / 1.104 GB, free: 44.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.7039, allocations: 32.45 kB / 1.104 GB, free: 44.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006111/0.71, allocations: 5.851 MB / 1.11 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.71, allocations: 1.938 kB / 1.11 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/0.7159, allocations: 1.68 MB / 1.112 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006759/0.7166, allocations: 422.1 kB / 1.112 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.7168, allocations: 29.25 kB / 1.112 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.7176, allocations: 74.69 kB / 1.112 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.7178, allocations: 75.5 kB / 1.112 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.7178, allocations: 45.25 kB / 1.112 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003351/0.7212, allocations: 1.435 MB / 1.114 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7212, allocations: 0.75 kB / 1.114 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001705/0.7229, allocations: 0.7427 MB / 1.114 GB, free: 38.01 MB / 0.9948 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.0006808/0.7236, allocations: 0.5175 MB / 1.115 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.7252, allocations: 1.354 MB / 1.116 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7252, allocations: 2.719 kB / 1.116 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/0.726, allocations: 0.9239 MB / 1.117 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.728, allocations: 0.854 MB / 1.118 GB, free: 36.49 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.7326, allocations: 3.854 MB / 1.122 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.7331, allocations: 0.4943 MB / 1.122 GB, free: 34.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007177/0.7338, allocations: 288.8 kB / 1.123 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.734, allocations: 127.4 kB / 1.123 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.734, allocations: 2.344 kB / 1.123 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of Templates: time 0.04542/0.7794, allocations: 45.01 MB / 1.167 GB, free: 26.24 MB / 0.9948 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.720838430104777]