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.002014/0.002014, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.003025/0.003025, allocations: 188.2 kB / 22.22 MB, free: 5.105 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.608/1.608, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.344/3.344, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002183/0.002183, allocations: 71.7 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4685, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3122/0.7807, allocations: 226.4 MB / 1.537 GB, free: 6.555 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.806, allocations: 12.74 MB / 1.55 GB, free: 9.777 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/0.8102, allocations: 95.25 kB / 1.55 GB, free: 9.684 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005384/0.8156, allocations: 1.251 MB / 1.551 GB, free: 8.426 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.8277, allocations: 3.336 MB / 1.554 GB, free: 5.078 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006596/0.8343, allocations: 1.886 MB / 1.556 GB, free: 3.203 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.8446, allocations: 4.212 MB / 1.56 GB, free: 14.98 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003808/0.8484, allocations: 1.121 MB / 1.561 GB, free: 13.82 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008167/0.8566, allocations: 2.196 MB / 1.563 GB, free: 11.62 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003842/0.8604, allocations: 1.472 MB / 1.565 GB, free: 10.14 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004868/0.8609, allocations: 180 kB / 1.565 GB, free: 9.969 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008032/0.8689, allocations: 2.842 MB / 1.568 GB, free: 7.121 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.8704, allocations: 0.9852 MB / 1.569 GB, free: 6.133 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.8733, allocations: 1.325 MB / 1.57 GB, free: 4.801 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.8868, allocations: 4.418 MB / 1.574 GB, free: 376 kB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.8868, allocations: 0 / 1.574 GB, free: 376 kB / 1.264 GB Notification: Performance of FrontEnd: time 3.897e-06/0.8868, allocations: 4 kB / 1.574 GB, free: 372 kB / 1.264 GB Notification: Performance of Transformations before backend: time 9.506e-05/0.8869, allocations: 0 / 1.574 GB, free: 372 kB / 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.008498/0.8954, allocations: 3.101 MB / 1.577 GB, free: 13.2 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.8954, allocations: 12.03 kB / 1.577 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.9001, allocations: 0.7944 MB / 1.578 GB, free: 12.39 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/0.9049, allocations: 2.456 MB / 1.58 GB, free: 9.875 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.905, allocations: 115.8 kB / 1.581 GB, free: 9.754 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.9052, allocations: 108 kB / 1.581 GB, free: 9.648 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.9093, allocations: 2.058 MB / 1.583 GB, free: 7.52 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.9094, allocations: 11.88 kB / 1.583 GB, free: 7.508 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.9095, allocations: 44 kB / 1.583 GB, free: 7.465 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.946e-05/0.9096, allocations: 46.06 kB / 1.583 GB, free: 7.418 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005045/0.9146, allocations: 2.558 MB / 1.585 GB, free: 4.852 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.01495/0.9296, allocations: 8.087 MB / 1.593 GB, free: 12.45 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/0.9336, allocations: 1.951 MB / 1.595 GB, free: 10.49 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.9354, allocations: 0.8837 MB / 1.596 GB, free: 9.605 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007573/0.9362, allocations: 168.6 kB / 1.596 GB, free: 9.441 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.9383, allocations: 1.016 MB / 1.597 GB, free: 8.402 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.887e-06/0.9383, allocations: 4 kB / 1.597 GB, free: 8.398 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02324/0.9615, allocations: 5.628 MB / 1.603 GB, free: 2.738 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.9617, allocations: 153.1 kB / 1.603 GB, free: 2.559 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8816/1.843, allocations: 3.971 MB / 1.607 GB, free: 287.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003818/1.844, allocations: 46.7 kB / 1.607 GB, free: 287.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.845, allocations: 1.022 MB / 1.608 GB, free: 287.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/1.845, allocations: 314.2 kB / 1.608 GB, free: 287.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/1.846, allocations: 215.5 kB / 1.608 GB, free: 287 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.846, allocations: 354.2 kB / 1.608 GB, free: 286.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/1.848, allocations: 1.088 MB / 1.61 GB, free: 286.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/1.851, allocations: 1.304 MB / 1.611 GB, free: 285.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.854, allocations: 2.172 MB / 1.613 GB, free: 284.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/1.854, allocations: 0 / 1.613 GB, free: 284.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01042/1.865, allocations: 3.671 MB / 1.617 GB, free: 283.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/1.865, allocations: 72.11 kB / 1.617 GB, free: 283.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/1.865, allocations: 4.75 kB / 1.617 GB, free: 283.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005034/1.87, allocations: 1.919 MB / 1.618 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.871, allocations: 186.7 kB / 1.619 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/1.879, allocations: 6.434 MB / 1.625 GB, free: 278.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.882, allocations: 237.6 kB / 1.625 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/1.883, allocations: 51.69 kB / 1.625 GB, free: 278.5 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.001461/1.884, allocations: 0.6469 MB / 1.626 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007738/1.885, allocations: 258.2 kB / 1.626 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008418/1.893, allocations: 3.192 MB / 1.629 GB, free: 277 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.893, allocations: 10.38 kB / 1.629 GB, free: 277 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.893, allocations: 5.094 kB / 1.629 GB, free: 277 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/1.893, allocations: 8.594 kB / 1.629 GB, free: 277 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/1.909, allocations: 5.54 MB / 1.635 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.909, allocations: 4.359 kB / 1.635 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/1.91, allocations: 94.81 kB / 1.635 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004345/1.914, allocations: 1.918 MB / 1.637 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/1.914, allocations: 28.92 kB / 1.637 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007811/1.922, allocations: 6.39 MB / 1.643 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.922, allocations: 7.312 kB / 1.643 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007201/1.929, allocations: 3.265 MB / 1.646 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.931, allocations: 449.5 kB / 1.647 GB, free: 268.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/1.931, allocations: 28.88 kB / 1.647 GB, free: 268.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.933, allocations: 121.3 kB / 1.647 GB, free: 268.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.933, allocations: 71.09 kB / 1.647 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.933, allocations: 45.8 kB / 1.647 GB, free: 268.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003471/1.936, allocations: 2.915 MB / 1.65 GB, free: 265.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.936, allocations: 0 / 1.65 GB, free: 265.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002405/1.939, allocations: 0.719 MB / 1.65 GB, free: 265.2 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.001241/1.94, allocations: 0.5025 MB / 1.651 GB, free: 264.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0043/1.944, allocations: 2.532 MB / 1.653 GB, free: 262.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.944, allocations: 0.6562 kB / 1.653 GB, free: 262.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/1.946, allocations: 1.336 MB / 1.655 GB, free: 261 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/1.951, allocations: 1.014 MB / 1.656 GB, free: 260 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008462/1.959, allocations: 4.743 MB / 1.66 GB, free: 255.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.96, allocations: 1.683 MB / 1.662 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00171/1.962, allocations: 369.7 kB / 1.662 GB, free: 253.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/1.962, allocations: 139.4 kB / 1.662 GB, free: 253 MB / 1.295 GB Notification: Performance of SimCode: time 1.473e-06/1.962, allocations: 4 kB / 1.662 GB, free: 253 MB / 1.295 GB Notification: Performance of Templates: time 0.07409/2.037, allocations: 52.08 MB / 1.713 GB, free: 201.6 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 13.681836632080376]