Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.00155/0.00155, allocations: 104.3 kB / 19.7 MB, free: 2.129 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.001792/0.001792, allocations: 211.4 kB / 22.99 MB, free: 4.938 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [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.002009/0.002009, allocations: 66.34 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1816/0.5073, allocations: 143.9 MB / 1.468 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5197, allocations: 8.164 MB / 1.476 GB, free: 8.41 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.5203, allocations: 23.81 kB / 1.476 GB, free: 8.387 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009941/0.5213, allocations: 333.8 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.5241, allocations: 1.139 MB / 1.477 GB, free: 6.918 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005286/0.5294, allocations: 2.151 MB / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.5313, allocations: 1.395 MB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.5319, allocations: 362 kB / 1.481 GB, free: 3.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005707/0.5376, allocations: 2.198 MB / 1.483 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.5403, allocations: 1.289 MB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.5405, allocations: 59.94 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005607/0.5461, allocations: 2.864 MB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.5464, allocations: 155.4 kB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.5468, allocations: 286.8 kB / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003631/0.5504, allocations: 2.221 MB / 1.49 GB, free: 9.934 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5504, allocations: 0 / 1.49 GB, free: 9.934 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5504, allocations: 0 / 1.49 GB, free: 9.934 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5505, allocations: 0 / 1.49 GB, free: 9.934 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002007/0.5525, allocations: 0.9525 MB / 1.491 GB, free: 8.949 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5525, allocations: 8.031 kB / 1.491 GB, free: 8.941 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.5537, allocations: 155.6 kB / 1.491 GB, free: 8.789 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.5545, allocations: 371.3 kB / 1.491 GB, free: 8.395 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.5545, allocations: 37.31 kB / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5546, allocations: 51.95 kB / 1.491 GB, free: 8.305 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5562, allocations: 1.002 MB / 1.492 GB, free: 7.172 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5562, allocations: 0 / 1.492 GB, free: 7.172 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.5562, allocations: 27.98 kB / 1.492 GB, free: 7.145 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5563, allocations: 19.94 kB / 1.492 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5574, allocations: 491.5 kB / 1.493 GB, free: 6.645 MB / 1.186 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.003364/0.5608, allocations: 2.177 MB / 1.495 GB, free: 4.391 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.5614, allocations: 259 kB / 1.495 GB, free: 4.129 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.5618, allocations: 165.3 kB / 1.495 GB, free: 3.965 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01854/0.5803, allocations: 4.924 MB / 1.5 GB, free: 15.04 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.5804, allocations: 46.42 kB / 1.5 GB, free: 14.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.404e-06/0.5804, allocations: 0 / 1.5 GB, free: 14.98 MB / 1.201 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.09274/0.6731, allocations: 31.66 MB / 1.531 GB, free: 15.32 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.6732, allocations: 137 kB / 1.531 GB, free: 15.16 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.6737, allocations: 333.6 kB / 1.531 GB, free: 14.82 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.6737, allocations: 33.7 kB / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.674, allocations: 304.7 kB / 1.532 GB, free: 14.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.6742, allocations: 190.4 kB / 1.532 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.6744, allocations: 114.3 kB / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6745, allocations: 350.8 kB / 1.532 GB, free: 13.82 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/0.6751, allocations: 233.2 kB / 1.533 GB, free: 13.59 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.6759, allocations: 454.5 kB / 1.533 GB, free: 13.08 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.6772, allocations: 0.5981 MB / 1.534 GB, free: 12.44 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6772, allocations: 3.938 kB / 1.534 GB, free: 12.44 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002114/0.6793, allocations: 0.7861 MB / 1.534 GB, free: 11.64 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6793, allocations: 8 kB / 1.534 GB, free: 11.63 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.6793, allocations: 7.938 kB / 1.534 GB, free: 11.62 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.6799, allocations: 121.9 kB / 1.535 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/0.6805, allocations: 135.8 kB / 1.535 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.6841, allocations: 3.165 MB / 1.538 GB, free: 8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.6847, allocations: 39.95 kB / 1.538 GB, free: 7.961 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.6847, allocations: 24.14 kB / 1.538 GB, free: 7.938 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.6851, allocations: 199.5 kB / 1.538 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.6853, allocations: 51.66 kB / 1.538 GB, free: 7.684 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.6872, allocations: 0.7888 MB / 1.539 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6872, allocations: 4 kB / 1.539 GB, free: 6.879 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6872, allocations: 0 / 1.539 GB, free: 6.879 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6872, allocations: 0 / 1.539 GB, free: 6.879 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.6906, allocations: 1.407 MB / 1.54 GB, free: 5.391 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.6906, allocations: 8 kB / 1.54 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.6912, allocations: 103.9 kB / 1.54 GB, free: 5.281 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/0.6915, allocations: 77.16 kB / 1.54 GB, free: 5.203 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.6915, allocations: 15.98 kB / 1.54 GB, free: 5.188 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.6934, allocations: 1.633 MB / 1.542 GB, free: 3.457 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6934, allocations: 4.031 kB / 1.542 GB, free: 3.453 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.6957, allocations: 1.012 MB / 1.543 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.6958, allocations: 39.7 kB / 1.543 GB, free: 2.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/0.6959, allocations: 16 kB / 1.543 GB, free: 2.324 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.6964, allocations: 28.05 kB / 1.543 GB, free: 2.297 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6965, allocations: 51.8 kB / 1.543 GB, free: 2.246 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.6965, allocations: 23.98 kB / 1.543 GB, free: 2.223 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003481/0.6969, allocations: 247.2 kB / 1.543 GB, free: 1.98 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6969, allocations: 0 / 1.543 GB, free: 1.98 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004354/0.7012, allocations: 1.394 MB / 1.545 GB, free: 0.5859 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007283/0.7085, allocations: 0.742 MB / 1.545 GB, free: 15.83 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.7106, allocations: 0.7762 MB / 1.546 GB, free: 15.03 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7106, allocations: 0 / 1.546 GB, free: 15.03 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.7114, allocations: 378.3 kB / 1.547 GB, free: 14.64 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.7127, allocations: 223.7 kB / 1.547 GB, free: 14.43 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.7148, allocations: 1.204 MB / 1.548 GB, free: 13.17 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.7151, allocations: 282.8 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.7156, allocations: 121 kB / 1.548 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.7158, allocations: 51.42 kB / 1.548 GB, free: 12.7 MB / 1.248 GB Notification: Performance of SimCode: time 5.71e-07/0.7158, allocations: 0 / 1.548 GB, free: 12.7 MB / 1.248 GB Notification: Performance of Templates: time 0.6484/1.364, allocations: 62.19 MB / 1.609 GB, free: 269 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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: 14.33348399400711]