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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 190.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.298/3.298, allocations: 497.2 MB / 0.7845 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001994/0.001994, allocations: 61.45 kB / 1.139 GB, free: 33.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4156, allocations: 173.9 MB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2937/0.7093, allocations: 226.3 MB / 1.53 GB, free: 12.66 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.7315, allocations: 12.74 MB / 1.543 GB, free: 15.89 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/0.7349, allocations: 75.56 kB / 1.543 GB, free: 15.82 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.7387, allocations: 1.228 MB / 1.544 GB, free: 14.58 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009781/0.7485, allocations: 3.275 MB / 1.547 GB, free: 11.29 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00578/0.7543, allocations: 1.855 MB / 1.549 GB, free: 9.449 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.007909/0.7622, allocations: 4.158 MB / 1.553 GB, free: 5.277 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.7647, allocations: 1.125 MB / 1.554 GB, free: 4.117 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.7708, allocations: 2.168 MB / 1.556 GB, free: 1.945 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.7741, allocations: 1.464 MB / 1.558 GB, free: 492 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.7747, allocations: 180 kB / 1.558 GB, free: 312 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006488/0.7812, allocations: 2.787 MB / 1.561 GB, free: 13.51 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.7827, allocations: 0.9813 MB / 1.562 GB, free: 12.53 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.7851, allocations: 1.329 MB / 1.563 GB, free: 11.19 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.009151/0.7943, allocations: 4.406 MB / 1.567 GB, free: 6.77 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7943, allocations: 0 / 1.567 GB, free: 6.77 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7943, allocations: 3.938 kB / 1.567 GB, free: 6.766 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.882e-05/0.7944, allocations: 7.938 kB / 1.567 GB, free: 6.758 MB / 1.264 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.007081/0.8014, allocations: 3.168 MB / 1.57 GB, free: 3.508 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8015, allocations: 12.62 kB / 1.57 GB, free: 3.496 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.8064, allocations: 0.7905 MB / 1.571 GB, free: 2.703 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006985/0.8134, allocations: 2.547 MB / 1.574 GB, free: 88 kB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.8137, allocations: 119.8 kB / 1.574 GB, free: 15.96 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000479/0.8141, allocations: 112 kB / 1.574 GB, free: 15.85 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006421/0.8206, allocations: 2.05 MB / 1.576 GB, free: 13.73 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.8206, allocations: 0 / 1.576 GB, free: 13.73 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.8208, allocations: 48 kB / 1.576 GB, free: 13.68 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/0.8209, allocations: 42.06 kB / 1.576 GB, free: 13.64 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008095/0.829, allocations: 2.569 MB / 1.578 GB, free: 11.06 MB / 1.279 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.02315/0.8522, allocations: 8.153 MB / 1.586 GB, free: 2.594 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.8591, allocations: 2.098 MB / 1.588 GB, free: 464 kB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003246/0.8623, allocations: 0.8916 MB / 1.589 GB, free: 15.56 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/0.8642, allocations: 1.06 MB / 1.59 GB, free: 14.28 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003354/0.8676, allocations: 1.012 MB / 1.591 GB, free: 13.24 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 6.722e-06/0.8676, allocations: 3.938 kB / 1.591 GB, free: 13.24 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.03097/0.8985, allocations: 5.932 MB / 1.597 GB, free: 7.199 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.8987, allocations: 149.2 kB / 1.597 GB, free: 7.023 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007965/0.9067, allocations: 3.965 MB / 1.601 GB, free: 3.047 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.907, allocations: 49.7 kB / 1.601 GB, free: 2.992 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.9084, allocations: 1.024 MB / 1.602 GB, free: 1.961 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/0.909, allocations: 317.3 kB / 1.602 GB, free: 1.648 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/0.9096, allocations: 218.5 kB / 1.603 GB, free: 1.43 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.9098, allocations: 349.9 kB / 1.603 GB, free: 1.082 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8345/1.744, allocations: 1.085 MB / 1.604 GB, free: 293.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/1.747, allocations: 1.297 MB / 1.605 GB, free: 293.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.751, allocations: 2.182 MB / 1.607 GB, free: 292.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.751, allocations: 2.562 kB / 1.607 GB, free: 292.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007994/1.759, allocations: 3.662 MB / 1.611 GB, free: 291.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/1.76, allocations: 72.17 kB / 1.611 GB, free: 291.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.76, allocations: 4.25 kB / 1.611 GB, free: 291.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/1.765, allocations: 1.913 MB / 1.613 GB, free: 291.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.767, allocations: 189.1 kB / 1.613 GB, free: 291.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009462/1.776, allocations: 6.643 MB / 1.62 GB, free: 286.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/1.779, allocations: 232.7 kB / 1.62 GB, free: 286.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/1.779, allocations: 51.11 kB / 1.62 GB, free: 286.4 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.001471/1.781, allocations: 0.6565 MB / 1.621 GB, free: 286 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/1.782, allocations: 259.5 kB / 1.621 GB, free: 285.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008455/1.79, allocations: 3.174 MB / 1.624 GB, free: 284.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.79, allocations: 14.48 kB / 1.624 GB, free: 284.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.79, allocations: 0 / 1.624 GB, free: 284.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.79, allocations: 4.172 kB / 1.624 GB, free: 284.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.804, allocations: 5.577 MB / 1.629 GB, free: 282.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.804, allocations: 7.844 kB / 1.629 GB, free: 282.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/1.804, allocations: 99.41 kB / 1.629 GB, free: 282.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004413/1.809, allocations: 1.905 MB / 1.631 GB, free: 282.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/1.809, allocations: 35 kB / 1.631 GB, free: 282.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007295/1.816, allocations: 6.591 MB / 1.638 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.816, allocations: 8.812 kB / 1.638 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/1.823, allocations: 3.251 MB / 1.641 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.825, allocations: 0.5145 MB / 1.641 GB, free: 275.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/1.825, allocations: 22.47 kB / 1.641 GB, free: 275.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.827, allocations: 124.1 kB / 1.642 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.827, allocations: 73.41 kB / 1.642 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.219e-05/1.827, allocations: 49.06 kB / 1.642 GB, free: 275.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00311/1.83, allocations: 2.908 MB / 1.645 GB, free: 274.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.83, allocations: 0 / 1.645 GB, free: 274.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001952/1.832, allocations: 0.7139 MB / 1.645 GB, free: 273.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.0009801/1.833, allocations: 0.5054 MB / 1.646 GB, free: 273.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00434/1.837, allocations: 2.527 MB / 1.648 GB, free: 271 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.837, allocations: 4.125 kB / 1.648 GB, free: 271 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.84, allocations: 1.326 MB / 1.65 GB, free: 269.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/1.845, allocations: 1.021 MB / 1.651 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/1.853, allocations: 4.738 MB / 1.655 GB, free: 264.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009513/1.854, allocations: 1.683 MB / 1.657 GB, free: 262.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001567/1.856, allocations: 381.2 kB / 1.657 GB, free: 262.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/1.856, allocations: 143.4 kB / 1.657 GB, free: 261.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.623e-06/1.856, allocations: 0 / 1.657 GB, free: 261.9 MB / 1.295 GB Notification: Performance of Templates: time 0.06654/1.922, allocations: 51.81 MB / 1.708 GB, free: 210.8 MB / 1.295 GB " [Timeout remaining time 298] 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.482240763027221]