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.001026/0.001026, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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: 165 kB / 23.01 MB, free: 1.551 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.9801/0.9801, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.109/2.109, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 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.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.633e-05, allocations: 11.14 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1485/0.1485, allocations: 161.5 MB / 1.036 GB, free: 4.277 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1608, allocations: 9.383 MB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.162, allocations: 99.19 kB / 1.045 GB, free: 10.78 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.1633, allocations: 0.7803 MB / 1.046 GB, free: 9.992 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.1666, allocations: 2.417 MB / 1.048 GB, free: 7.562 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.1693, allocations: 1.841 MB / 1.05 GB, free: 5.719 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.1728, allocations: 4.253 MB / 1.054 GB, free: 1.453 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.1739, allocations: 1.174 MB / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4819/0.6558, allocations: 2.035 MB / 1.057 GB, free: 53.21 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.658, allocations: 1.273 MB / 1.059 GB, free: 53.21 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.6585, allocations: 182.8 kB / 1.059 GB, free: 53.21 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.6611, allocations: 1.423 MB / 1.06 GB, free: 53.21 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008457/0.6619, allocations: 1.039 MB / 1.061 GB, free: 53.21 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.6636, allocations: 0.9031 MB / 1.062 GB, free: 53.21 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.6682, allocations: 2.833 MB / 1.065 GB, free: 53.04 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6682, allocations: 0 / 1.065 GB, free: 53.04 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6682, allocations: 0 / 1.065 GB, free: 53.04 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000103/0.6683, allocations: 0 / 1.065 GB, free: 53.04 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.004425/0.6728, allocations: 3.234 MB / 1.068 GB, free: 51.35 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6728, allocations: 12.5 kB / 1.068 GB, free: 51.35 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.6751, allocations: 0.82 MB / 1.069 GB, free: 51.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.6776, allocations: 1.911 MB / 1.071 GB, free: 50.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.6777, allocations: 154.2 kB / 1.071 GB, free: 50.53 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6778, allocations: 121.7 kB / 1.071 GB, free: 50.53 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.6793, allocations: 1.245 MB / 1.072 GB, free: 50.08 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6794, allocations: 0 / 1.072 GB, free: 50.08 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.6794, allocations: 47.5 kB / 1.072 GB, free: 50.08 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.6795, allocations: 42.33 kB / 1.072 GB, free: 50.08 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.6805, allocations: 0.7198 MB / 1.073 GB, free: 49.99 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.005953/0.6865, allocations: 5.465 MB / 1.078 GB, free: 48.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6876, allocations: 0.614 MB / 1.079 GB, free: 47.94 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.6881, allocations: 365.2 kB / 1.079 GB, free: 47.86 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.6884, allocations: 121.7 kB / 1.079 GB, free: 47.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/0.689, allocations: 0.5797 MB / 1.08 GB, free: 47.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 4.689e-06/0.689, allocations: 0.9688 kB / 1.08 GB, free: 47.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.00789/0.6969, allocations: 3.058 MB / 1.083 GB, free: 47.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.6969, allocations: 148.1 kB / 1.083 GB, free: 46.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.6997, allocations: 2.373 MB / 1.085 GB, free: 46.65 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.69e-05/0.6998, allocations: 46.3 kB / 1.085 GB, free: 46.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/0.7005, allocations: 1.17 MB / 1.087 GB, free: 46.28 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.7008, allocations: 313.1 kB / 1.087 GB, free: 46.08 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.7012, allocations: 251.4 kB / 1.087 GB, free: 46.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7013, allocations: 0.5226 MB / 1.088 GB, free: 45.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.7018, allocations: 286.6 kB / 1.088 GB, free: 45.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.7025, allocations: 0.9417 MB / 1.089 GB, free: 44.67 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7036, allocations: 1.017 MB / 1.09 GB, free: 44.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.7036, allocations: 2.344 kB / 1.09 GB, free: 44.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003042/0.7066, allocations: 1.615 MB / 1.091 GB, free: 43.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.7067, allocations: 78.8 kB / 1.091 GB, free: 43.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.7067, allocations: 8.281 kB / 1.091 GB, free: 43.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.7089, allocations: 0.8969 MB / 1.092 GB, free: 43.58 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.7095, allocations: 202.4 kB / 1.092 GB, free: 43.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.7128, allocations: 5.913 MB / 1.098 GB, free: 38.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7141, allocations: 168.5 kB / 1.098 GB, free: 38.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.7143, allocations: 61.42 kB / 1.098 GB, free: 38.44 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 (102): * Single equations (assignments): 95 * 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.0005911/0.7148, allocations: 299.2 kB / 1.099 GB, free: 38.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.7152, allocations: 276.4 kB / 1.099 GB, free: 38.07 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.7179, allocations: 1.482 MB / 1.1 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.7179, allocations: 8.844 kB / 1.1 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7179, allocations: 2.219 kB / 1.1 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.7179, allocations: 3.375 kB / 1.1 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.7239, allocations: 3.255 MB / 1.104 GB, free: 37.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.7239, allocations: 5.312 kB / 1.104 GB, free: 37.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.7242, allocations: 92.58 kB / 1.104 GB, free: 37.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.7262, allocations: 0.8765 MB / 1.105 GB, free: 37.01 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.7262, allocations: 33.69 kB / 1.105 GB, free: 37.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.7291, allocations: 5.875 MB / 1.11 GB, free: 31.92 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7291, allocations: 2.656 kB / 1.11 GB, free: 31.92 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.7318, allocations: 1.683 MB / 1.112 GB, free: 31.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.7325, allocations: 427 kB / 1.112 GB, free: 31.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.7327, allocations: 25.97 kB / 1.112 GB, free: 31.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.7333, allocations: 74.69 kB / 1.113 GB, free: 31.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.7335, allocations: 74.97 kB / 1.113 GB, free: 31.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.7336, allocations: 43.02 kB / 1.113 GB, free: 31.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001745/0.7353, allocations: 1.465 MB / 1.114 GB, free: 30.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7353, allocations: 2.188 kB / 1.114 GB, free: 30.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001703/0.737, allocations: 0.7285 MB / 1.115 GB, free: 30.82 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.0006497/0.7377, allocations: 393.7 kB / 1.115 GB, free: 30.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.7395, allocations: 1.395 MB / 1.117 GB, free: 30.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.7395, allocations: 4.453 kB / 1.117 GB, free: 30.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.7404, allocations: 0.9172 MB / 1.117 GB, free: 29.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.7426, allocations: 0.8471 MB / 1.118 GB, free: 29.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.7478, allocations: 3.939 MB / 1.122 GB, free: 27.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.7483, allocations: 0.498 MB / 1.123 GB, free: 27.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007173/0.749, allocations: 301.6 kB / 1.123 GB, free: 27.35 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.7492, allocations: 128.2 kB / 1.123 GB, free: 27.34 MB / 1.01 GB Notification: Performance of SimCode: time 1.122e-06/0.7492, allocations: 0 / 1.123 GB, free: 27.34 MB / 1.01 GB Notification: Performance of Templates: time 0.04598/0.7952, allocations: 43.41 MB / 1.165 GB, free: 20.84 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.2186501091346145]