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.00237/0.00237, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.003571/0.003571, allocations: 214.2 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.72/1.72, allocations: 230.6 MB / 256 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.739/3.739, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.86 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4895, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3241/0.8136, allocations: 199.8 MB / 1.521 GB, free: 9.309 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.8405, allocations: 11.84 MB / 1.532 GB, free: 13.45 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/0.845, allocations: 95.19 kB / 1.532 GB, free: 13.35 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.8493, allocations: 1.158 MB / 1.533 GB, free: 12.19 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.8619, allocations: 3.296 MB / 1.537 GB, free: 8.879 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.007823/0.8697, allocations: 1.851 MB / 1.539 GB, free: 7.039 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.009055/0.8788, allocations: 4.202 MB / 1.543 GB, free: 2.828 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004091/0.8829, allocations: 1.114 MB / 1.544 GB, free: 1.676 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008854/0.8917, allocations: 2.209 MB / 1.546 GB, free: 15.46 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.8961, allocations: 1.391 MB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0009767/0.8971, allocations: 180 kB / 1.547 GB, free: 13.89 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008566/0.9057, allocations: 2.276 MB / 1.55 GB, free: 11.61 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.9076, allocations: 0.9813 MB / 1.551 GB, free: 10.62 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.9114, allocations: 1.061 MB / 1.552 GB, free: 9.559 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.923, allocations: 4.387 MB / 1.556 GB, free: 5.156 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.923, allocations: 0 / 1.556 GB, free: 5.156 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.376e-06/0.923, allocations: 0 / 1.556 GB, free: 5.156 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001584/0.9232, allocations: 0 / 1.556 GB, free: 5.156 MB / 1.248 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.01059/0.9338, allocations: 3.093 MB / 1.559 GB, free: 2 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.9338, allocations: 8.031 kB / 1.559 GB, free: 1.992 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.939, allocations: 0.8022 MB / 1.56 GB, free: 1.188 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006566/0.9456, allocations: 2.479 MB / 1.562 GB, free: 14.65 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.9458, allocations: 149.5 kB / 1.562 GB, free: 14.49 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004124/0.9462, allocations: 108 kB / 1.562 GB, free: 14.38 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/0.9516, allocations: 2.241 MB / 1.565 GB, free: 12.03 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.9517, allocations: 4 kB / 1.565 GB, free: 12.02 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.9519, allocations: 44 kB / 1.565 GB, free: 11.98 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.9519, allocations: 46.06 kB / 1.565 GB, free: 11.93 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.9575, allocations: 2.612 MB / 1.567 GB, free: 9.301 MB / 1.264 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.01573/0.9733, allocations: 6.631 MB / 1.574 GB, free: 2.555 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004591/0.9779, allocations: 2.001 MB / 1.576 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.9802, allocations: 0.9477 MB / 1.577 GB, free: 15.57 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008497/0.9811, allocations: 168.5 kB / 1.577 GB, free: 15.41 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/0.9837, allocations: 1.18 MB / 1.578 GB, free: 14.16 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 4.949e-06/0.9837, allocations: 0 / 1.578 GB, free: 14.16 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.0248/1.009, allocations: 5.736 MB / 1.583 GB, free: 8.367 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/1.009, allocations: 153.1 kB / 1.584 GB, free: 8.188 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008758/1.017, allocations: 3.71 MB / 1.587 GB, free: 4.453 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000374/1.018, allocations: 41.7 kB / 1.587 GB, free: 4.406 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.019, allocations: 1.034 MB / 1.588 GB, free: 3.363 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007056/1.02, allocations: 313.3 kB / 1.589 GB, free: 3.055 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007177/1.021, allocations: 218.5 kB / 1.589 GB, free: 2.836 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002591/1.021, allocations: 353.9 kB / 1.589 GB, free: 2.484 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/1.024, allocations: 1.15 MB / 1.59 GB, free: 1.324 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/1.026, allocations: 1.596 MB / 1.592 GB, free: 15.59 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004674/1.031, allocations: 2.183 MB / 1.594 GB, free: 13.31 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/1.031, allocations: 0 / 1.594 GB, free: 13.31 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01001/1.041, allocations: 3.723 MB / 1.598 GB, free: 9.547 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.041, allocations: 77.09 kB / 1.598 GB, free: 9.461 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.041, allocations: 4 kB / 1.598 GB, free: 9.457 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/1.047, allocations: 1.917 MB / 1.6 GB, free: 7.527 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.048, allocations: 183.7 kB / 1.6 GB, free: 7.348 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/1.059, allocations: 6.366 MB / 1.606 GB, free: 0.7227 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.062, allocations: 195.2 kB / 1.606 GB, free: 0.5312 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/1.062, allocations: 51.97 kB / 1.606 GB, free: 492 kB / 1.295 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 (86): * Single equations (assignments): 79 * 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 1.047/2.11, allocations: 0.6424 MB / 1.607 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009981/2.111, allocations: 234.4 kB / 1.607 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009118/2.12, allocations: 3.227 MB / 1.61 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/2.12, allocations: 15.92 kB / 1.61 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.12, allocations: 0.8125 kB / 1.61 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/2.12, allocations: 4.297 kB / 1.61 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/2.133, allocations: 5.172 MB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/2.133, allocations: 2.594 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/2.133, allocations: 102.9 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00551/2.139, allocations: 1.917 MB / 1.617 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/2.139, allocations: 29.5 kB / 1.617 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009784/2.149, allocations: 6.313 MB / 1.623 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.149, allocations: 4.156 kB / 1.623 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008968/2.158, allocations: 3.303 MB / 1.627 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/2.16, allocations: 420.1 kB / 1.627 GB, free: 272 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/2.16, allocations: 30.48 kB / 1.627 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/2.161, allocations: 109.5 kB / 1.627 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/2.162, allocations: 72.77 kB / 1.627 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/2.162, allocations: 47.16 kB / 1.627 GB, free: 271.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004933/2.167, allocations: 2.718 MB / 1.63 GB, free: 270.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/2.167, allocations: 0 / 1.63 GB, free: 270.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003644/2.17, allocations: 0.7383 MB / 1.631 GB, free: 270.8 MB / 1.295 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.00136/2.172, allocations: 497.2 kB / 1.631 GB, free: 270.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00594/2.178, allocations: 2.674 MB / 1.634 GB, free: 269.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/2.178, allocations: 1.156 kB / 1.634 GB, free: 269.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/2.18, allocations: 1.402 MB / 1.635 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/2.185, allocations: 0.7988 MB / 1.636 GB, free: 268.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/2.194, allocations: 4.771 MB / 1.641 GB, free: 266.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/2.196, allocations: 1.104 MB / 1.642 GB, free: 266.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001692/2.198, allocations: 338.8 kB / 1.642 GB, free: 266.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/2.198, allocations: 123.1 kB / 1.642 GB, free: 266 MB / 1.295 GB Notification: Performance of SimCode: time 1.513e-06/2.198, allocations: 0 / 1.642 GB, free: 266 MB / 1.295 GB Notification: Performance of Templates: time 0.06871/2.267, allocations: 48.19 MB / 1.689 GB, free: 221.1 MB / 1.295 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.309687899425626]