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.001946/0.001946, 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.00329/0.00329, allocations: 214.7 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.224/3.224, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.002084/0.002084, allocations: 65.16 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3725, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2761/0.6486, allocations: 199.9 MB / 1.522 GB, free: 8.43 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02113/0.6697, allocations: 11.83 MB / 1.534 GB, free: 12.57 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.6728, allocations: 91.25 kB / 1.534 GB, free: 12.48 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.6781, allocations: 1.173 MB / 1.535 GB, free: 11.3 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.6909, allocations: 3.306 MB / 1.538 GB, free: 7.988 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.6967, allocations: 1.855 MB / 1.54 GB, free: 6.145 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006966/0.7037, allocations: 4.213 MB / 1.544 GB, free: 1.926 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.7058, allocations: 1.137 MB / 1.545 GB, free: 0.75 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005629/0.7114, allocations: 2.216 MB / 1.547 GB, free: 14.53 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.7143, allocations: 1.463 MB / 1.549 GB, free: 13.06 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.7146, allocations: 184 kB / 1.549 GB, free: 12.88 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005356/0.72, allocations: 2.335 MB / 1.551 GB, free: 10.54 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.7211, allocations: 0.9852 MB / 1.552 GB, free: 9.555 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.7226, allocations: 1.065 MB / 1.553 GB, free: 8.484 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/0.7305, allocations: 4.383 MB / 1.558 GB, free: 4.086 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7305, allocations: 3.938 kB / 1.558 GB, free: 4.082 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7305, allocations: 0 / 1.558 GB, free: 4.082 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.422e-05/0.7305, allocations: 0 / 1.558 GB, free: 4.082 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.006411/0.7369, allocations: 3.093 MB / 1.561 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.737, allocations: 12.03 kB / 1.561 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.7419, allocations: 0.8021 MB / 1.561 GB, free: 112 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.7467, allocations: 2.463 MB / 1.564 GB, free: 13.59 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.7469, allocations: 153.5 kB / 1.564 GB, free: 13.42 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.7471, allocations: 108 kB / 1.564 GB, free: 13.32 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/0.7513, allocations: 2.241 MB / 1.566 GB, free: 10.96 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.7513, allocations: 0 / 1.566 GB, free: 10.96 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.7515, allocations: 51.98 kB / 1.566 GB, free: 10.91 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/0.7515, allocations: 38.08 kB / 1.566 GB, free: 10.87 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.7565, allocations: 2.616 MB / 1.569 GB, free: 8.234 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.01281/0.7693, allocations: 6.639 MB / 1.575 GB, free: 1.48 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.7735, allocations: 1.993 MB / 1.577 GB, free: 15.47 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.7755, allocations: 0.9451 MB / 1.578 GB, free: 14.51 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/0.7763, allocations: 160.5 kB / 1.578 GB, free: 14.35 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002218/0.7785, allocations: 1.19 MB / 1.58 GB, free: 13.09 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 3.567e-06/0.7785, allocations: 0 / 1.58 GB, free: 13.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.02498/0.8035, allocations: 5.729 MB / 1.585 GB, free: 7.309 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.8036, allocations: 145.2 kB / 1.585 GB, free: 7.137 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005863/0.8095, allocations: 3.706 MB / 1.589 GB, free: 3.406 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.8097, allocations: 49.7 kB / 1.589 GB, free: 3.352 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.8108, allocations: 1.03 MB / 1.59 GB, free: 2.312 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.8112, allocations: 313.3 kB / 1.59 GB, free: 2.004 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.8116, allocations: 226.5 kB / 1.591 GB, free: 1.777 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.8118, allocations: 345.9 kB / 1.591 GB, free: 1.434 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.814, allocations: 1.153 MB / 1.592 GB, free: 276 kB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.8166, allocations: 1.596 MB / 1.594 GB, free: 14.53 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.8205, allocations: 2.182 MB / 1.596 GB, free: 12.26 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.8205, allocations: 4 kB / 1.596 GB, free: 12.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009099/0.8296, allocations: 3.716 MB / 1.599 GB, free: 8.496 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/0.8297, allocations: 83.38 kB / 1.599 GB, free: 8.402 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.8297, allocations: 4 kB / 1.599 GB, free: 8.398 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004861/0.8346, allocations: 1.924 MB / 1.601 GB, free: 6.461 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.8356, allocations: 183.8 kB / 1.601 GB, free: 6.281 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7654/1.601, allocations: 6.352 MB / 1.608 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.603, allocations: 190.8 kB / 1.608 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.604, allocations: 53.09 kB / 1.608 GB, free: 278.3 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.00117/1.605, allocations: 0.6537 MB / 1.609 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/1.605, allocations: 234 kB / 1.609 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/1.614, allocations: 3.237 MB / 1.612 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/1.614, allocations: 9.172 kB / 1.612 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.614, allocations: 1.531 kB / 1.612 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.614, allocations: 4.594 kB / 1.612 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.627, allocations: 5.173 MB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.627, allocations: 2.25 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/1.627, allocations: 96.67 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/1.633, allocations: 1.915 MB / 1.619 GB, free: 275.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.633, allocations: 39.2 kB / 1.619 GB, free: 275.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008433/1.641, allocations: 6.306 MB / 1.625 GB, free: 271.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.641, allocations: 2.891 kB / 1.625 GB, free: 271.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008034/1.649, allocations: 3.302 MB / 1.628 GB, free: 270.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.651, allocations: 429.5 kB / 1.629 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/1.651, allocations: 23.5 kB / 1.629 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.653, allocations: 115.7 kB / 1.629 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.653, allocations: 78.14 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.653, allocations: 39.7 kB / 1.629 GB, free: 269.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003776/1.657, allocations: 2.722 MB / 1.632 GB, free: 268.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.657, allocations: 0 / 1.632 GB, free: 268.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002431/1.659, allocations: 0.7374 MB / 1.632 GB, free: 268.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.00103/1.66, allocations: 496.2 kB / 1.633 GB, free: 268.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005006/1.665, allocations: 2.672 MB / 1.635 GB, free: 267.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.665, allocations: 2.031 kB / 1.635 GB, free: 267.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/1.668, allocations: 1.399 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.003663/1.671, allocations: 0.7998 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.008813/1.68, allocations: 4.777 MB / 1.642 GB, free: 264.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.682, allocations: 1.11 MB / 1.643 GB, free: 264 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001458/1.683, allocations: 336.3 kB / 1.644 GB, free: 264 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/1.683, allocations: 123.6 kB / 1.644 GB, free: 264 MB / 1.295 GB Notification: Performance of SimCode: time 1.362e-06/1.683, allocations: 0.5469 kB / 1.644 GB, free: 264 MB / 1.295 GB Notification: Performance of Templates: time 0.06135/1.745, allocations: 48.46 MB / 1.691 GB, free: 218.5 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 gbode -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: 11.86620060999121]