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.001829/0.001829, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002189/0.002189, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.996 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.465/3.465, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.002105/0.002105, allocations: 68.36 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.462, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3059/0.7678, allocations: 229.4 MB / 1.55 GB, free: 11.17 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.7911, allocations: 12.75 MB / 1.563 GB, free: 14.39 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.7951, allocations: 95.19 kB / 1.563 GB, free: 14.3 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.799, allocations: 1.259 MB / 1.564 GB, free: 13.04 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.81, allocations: 3.329 MB / 1.567 GB, free: 9.695 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005951/0.8159, allocations: 1.884 MB / 1.569 GB, free: 7.82 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008389/0.8243, allocations: 4.211 MB / 1.573 GB, free: 3.602 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.8268, allocations: 1.133 MB / 1.574 GB, free: 2.43 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006242/0.833, allocations: 2.211 MB / 1.577 GB, free: 220 kB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/0.8366, allocations: 1.466 MB / 1.578 GB, free: 14.75 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005505/0.8371, allocations: 180 kB / 1.578 GB, free: 14.57 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00751/0.8446, allocations: 2.873 MB / 1.581 GB, free: 11.69 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.8461, allocations: 0.9891 MB / 1.582 GB, free: 10.7 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.8485, allocations: 1.325 MB / 1.583 GB, free: 9.367 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.8586, allocations: 4.445 MB / 1.588 GB, free: 4.906 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.8586, allocations: 0 / 1.588 GB, free: 4.906 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.766e-06/0.8586, allocations: 0 / 1.588 GB, free: 4.906 MB / 1.279 GB Notification: Performance of Transformations before backend: time 7.826e-05/0.8587, allocations: 0 / 1.588 GB, free: 4.906 MB / 1.279 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.007235/0.8659, allocations: 3.097 MB / 1.591 GB, free: 1.746 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.8659, allocations: 12.03 kB / 1.591 GB, free: 1.734 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/0.8705, allocations: 0.7944 MB / 1.591 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/0.8754, allocations: 2.471 MB / 1.594 GB, free: 14.41 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.8756, allocations: 141.5 kB / 1.594 GB, free: 14.25 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.8758, allocations: 116 kB / 1.594 GB, free: 14.14 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.8796, allocations: 2.054 MB / 1.596 GB, free: 12.02 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.8797, allocations: 0 / 1.596 GB, free: 12.02 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.8798, allocations: 48 kB / 1.596 GB, free: 11.97 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.8798, allocations: 42.02 kB / 1.596 GB, free: 11.93 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.8845, allocations: 2.565 MB / 1.599 GB, free: 9.352 MB / 1.295 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.01361/0.8981, allocations: 8.099 MB / 1.607 GB, free: 0.9375 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9307/1.829, allocations: 1.931 MB / 1.608 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/1.831, allocations: 0.8905 MB / 1.609 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/1.832, allocations: 169.4 kB / 1.61 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/1.834, allocations: 1.013 MB / 1.611 GB, free: 280 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.366e-06/1.834, allocations: 0 / 1.611 GB, free: 280 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02425/1.858, allocations: 5.635 MB / 1.616 GB, free: 278.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/1.858, allocations: 146.4 kB / 1.616 GB, free: 278.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/1.868, allocations: 3.98 MB / 1.62 GB, free: 277.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003804/1.868, allocations: 47.67 kB / 1.62 GB, free: 277.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.869, allocations: 1.027 MB / 1.621 GB, free: 276.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/1.869, allocations: 308.9 kB / 1.621 GB, free: 276.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004776/1.87, allocations: 216.4 kB / 1.622 GB, free: 276.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.87, allocations: 344.2 kB / 1.622 GB, free: 276.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/1.872, allocations: 1.092 MB / 1.623 GB, free: 275.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/1.874, allocations: 1.304 MB / 1.624 GB, free: 275.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/1.879, allocations: 2.181 MB / 1.626 GB, free: 274.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.879, allocations: 1.062 kB / 1.626 GB, free: 274.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009735/1.888, allocations: 3.667 MB / 1.63 GB, free: 273 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.888, allocations: 71.81 kB / 1.63 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.889, allocations: 6.172 kB / 1.63 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0053/1.894, allocations: 1.925 MB / 1.632 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.895, allocations: 186.3 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008821/1.904, allocations: 6.44 MB / 1.638 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/1.907, allocations: 229.7 kB / 1.639 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/1.907, allocations: 50.92 kB / 1.639 GB, free: 267.7 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.00165/1.909, allocations: 0.6456 MB / 1.639 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007262/1.909, allocations: 268.8 kB / 1.64 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007975/1.917, allocations: 3.178 MB / 1.643 GB, free: 266.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/1.917, allocations: 14.67 kB / 1.643 GB, free: 266.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.917, allocations: 7.562 kB / 1.643 GB, free: 266.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.918, allocations: 7.781 kB / 1.643 GB, free: 266.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.931, allocations: 5.551 MB / 1.648 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.931, allocations: 0 / 1.648 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/1.931, allocations: 95.88 kB / 1.648 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/1.935, allocations: 1.91 MB / 1.65 GB, free: 261.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.935, allocations: 31.98 kB / 1.65 GB, free: 261.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007019/1.942, allocations: 6.4 MB / 1.656 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.942, allocations: 4 kB / 1.656 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007198/1.949, allocations: 3.262 MB / 1.66 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.951, allocations: 451.7 kB / 1.66 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008261/1.952, allocations: 29.64 kB / 1.66 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.954, allocations: 120.3 kB / 1.66 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.954, allocations: 76.47 kB / 1.66 GB, free: 251.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.954, allocations: 43.97 kB / 1.66 GB, free: 251.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004316/1.959, allocations: 2.919 MB / 1.663 GB, free: 248.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.959, allocations: 0 / 1.663 GB, free: 248.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003173/1.962, allocations: 0.7143 MB / 1.664 GB, free: 247.5 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.001332/1.963, allocations: 0.4892 MB / 1.664 GB, free: 247 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004779/1.968, allocations: 2.547 MB / 1.667 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.968, allocations: 4 kB / 1.667 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.97, allocations: 1.32 MB / 1.668 GB, free: 243.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006061/1.976, allocations: 1.013 MB / 1.669 GB, free: 242.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.987, allocations: 4.745 MB / 1.674 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/1.988, allocations: 1.695 MB / 1.675 GB, free: 235.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001729/1.99, allocations: 365.7 kB / 1.676 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/1.991, allocations: 139.4 kB / 1.676 GB, free: 235.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.473e-06/1.991, allocations: 0 / 1.676 GB, free: 235.1 MB / 1.295 GB Notification: Performance of Templates: time 0.07294/2.063, allocations: 52.07 MB / 1.727 GB, free: 183.7 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: 13.473425100091845]