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.001458/0.001458, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001677/0.001677, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.429/3.429, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002052/0.002052, allocations: 67.91 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4781, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2953/0.7734, allocations: 199.9 MB / 1.522 GB, free: 8.465 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02422/0.7976, allocations: 11.84 MB / 1.534 GB, free: 12.6 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.8022, allocations: 95.19 kB / 1.534 GB, free: 12.51 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.8063, allocations: 1.165 MB / 1.535 GB, free: 11.34 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.8179, allocations: 3.302 MB / 1.538 GB, free: 8.023 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006183/0.8241, allocations: 1.854 MB / 1.54 GB, free: 6.18 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.009978/0.8341, allocations: 4.217 MB / 1.544 GB, free: 1.953 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.8367, allocations: 1.129 MB / 1.545 GB, free: 0.7852 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/0.8438, allocations: 2.226 MB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003909/0.8477, allocations: 1.462 MB / 1.549 GB, free: 13.09 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004988/0.8482, allocations: 180 kB / 1.549 GB, free: 12.91 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006569/0.8548, allocations: 2.335 MB / 1.551 GB, free: 10.57 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.8561, allocations: 0.9852 MB / 1.552 GB, free: 9.586 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.8584, allocations: 1.057 MB / 1.553 GB, free: 8.523 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.869, allocations: 4.391 MB / 1.558 GB, free: 4.117 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.869, allocations: 0 / 1.558 GB, free: 4.117 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.605e-06/0.869, allocations: 0 / 1.558 GB, free: 4.117 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.539e-05/0.8691, allocations: 4 kB / 1.558 GB, free: 4.113 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.00799/0.8771, allocations: 3.089 MB / 1.561 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.8772, allocations: 11.97 kB / 1.561 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.8822, allocations: 0.7944 MB / 1.561 GB, free: 156 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/0.8877, allocations: 2.483 MB / 1.564 GB, free: 13.61 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.8879, allocations: 141.5 kB / 1.564 GB, free: 13.46 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.8882, allocations: 108 kB / 1.564 GB, free: 13.35 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.8924, allocations: 2.238 MB / 1.566 GB, free: 11 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.8925, allocations: 11.94 kB / 1.566 GB, free: 10.99 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.8926, allocations: 44 kB / 1.566 GB, free: 10.95 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.237e-05/0.8927, allocations: 42.08 kB / 1.566 GB, free: 10.9 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005017/0.8977, allocations: 2.612 MB / 1.569 GB, free: 8.27 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.01421/0.9119, allocations: 6.624 MB / 1.575 GB, free: 1.531 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/0.9162, allocations: 2.006 MB / 1.577 GB, free: 15.51 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.9181, allocations: 0.9491 MB / 1.578 GB, free: 14.54 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008054/0.9189, allocations: 172.5 kB / 1.578 GB, free: 14.38 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.9211, allocations: 1.175 MB / 1.58 GB, free: 13.13 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 4.018e-06/0.9211, allocations: 3.938 kB / 1.58 GB, free: 13.13 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.02435/0.9455, allocations: 5.736 MB / 1.585 GB, free: 7.336 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9456, allocations: 145.2 kB / 1.585 GB, free: 7.164 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006358/0.9519, allocations: 3.71 MB / 1.589 GB, free: 3.43 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.9522, allocations: 41.7 kB / 1.589 GB, free: 3.383 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.9535, allocations: 1.034 MB / 1.59 GB, free: 2.34 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.9539, allocations: 321.3 kB / 1.59 GB, free: 2.023 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/0.9543, allocations: 214.5 kB / 1.591 GB, free: 1.809 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.9546, allocations: 349.9 kB / 1.591 GB, free: 1.461 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.9567, allocations: 1.15 MB / 1.592 GB, free: 308 kB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/0.9593, allocations: 1.6 MB / 1.594 GB, free: 14.55 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/0.9634, allocations: 2.186 MB / 1.596 GB, free: 12.28 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.9634, allocations: 0 / 1.596 GB, free: 12.28 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009261/0.9727, allocations: 3.719 MB / 1.599 GB, free: 8.52 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.9728, allocations: 71.39 kB / 1.599 GB, free: 8.438 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.9728, allocations: 4 kB / 1.599 GB, free: 8.434 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004953/0.9778, allocations: 1.925 MB / 1.601 GB, free: 6.496 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9789, allocations: 183.8 kB / 1.601 GB, free: 6.316 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094/2.073, allocations: 6.358 MB / 1.608 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/2.076, allocations: 191 kB / 1.608 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/2.076, allocations: 52.28 kB / 1.608 GB, free: 278.2 MB / 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 0.001685/2.078, allocations: 0.6534 MB / 1.609 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/2.078, allocations: 234 kB / 1.609 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009504/2.088, allocations: 3.231 MB / 1.612 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/2.088, allocations: 10.67 kB / 1.612 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/2.088, allocations: 0.9688 kB / 1.612 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/2.088, allocations: 4.172 kB / 1.612 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/2.102, allocations: 5.183 MB / 1.617 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/2.102, allocations: 2.25 kB / 1.617 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/2.102, allocations: 95.14 kB / 1.617 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005762/2.108, allocations: 1.916 MB / 1.619 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/2.108, allocations: 35.52 kB / 1.619 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009214/2.117, allocations: 6.3 MB / 1.625 GB, free: 271.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/2.117, allocations: 9.016 kB / 1.625 GB, free: 271.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008788/2.126, allocations: 3.297 MB / 1.628 GB, free: 270.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/2.128, allocations: 432.6 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/2.128, allocations: 24.7 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/2.13, allocations: 110.9 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/2.13, allocations: 78.75 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/2.13, allocations: 47.33 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00478/2.135, allocations: 2.721 MB / 1.632 GB, free: 268.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.135, allocations: 3.938 kB / 1.632 GB, free: 268.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003238/2.138, allocations: 0.7369 MB / 1.632 GB, free: 268.7 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.001386/2.14, allocations: 493.5 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006472/2.146, allocations: 2.67 MB / 1.635 GB, free: 267.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/2.146, allocations: 0.875 kB / 1.635 GB, free: 267.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/2.149, allocations: 1.396 MB / 1.637 GB, free: 266.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00455/2.154, allocations: 0.8041 MB / 1.638 GB, free: 266.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/2.164, allocations: 4.766 MB / 1.642 GB, free: 264.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/2.166, allocations: 1.119 MB / 1.643 GB, free: 264 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001628/2.167, allocations: 333.4 kB / 1.644 GB, free: 263.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/2.168, allocations: 125.6 kB / 1.644 GB, free: 263.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.813e-06/2.168, allocations: 0 / 1.644 GB, free: 263.9 MB / 1.295 GB Notification: Performance of Templates: time 0.06992/2.238, allocations: 48.47 MB / 1.691 GB, free: 218.6 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 -s cvode -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/jenkins1/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: 13.541771651987801]