Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.001797/0.001797, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001726/0.001726, allocations: 217.1 kB / 23.04 MB, free: 5.078 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 33.44 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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) [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.001915/0.001915, allocations: 70.12 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.301, allocations: 176.1 MB / 1.327 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1856/0.4866, allocations: 166.9 MB / 1.49 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.4981, allocations: 8.195 MB / 1.498 GB, free: 2.238 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007039/0.4988, allocations: 23.81 kB / 1.498 GB, free: 2.215 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.4999, allocations: 361.8 kB / 1.498 GB, free: 1.859 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.5021, allocations: 0.763 MB / 1.499 GB, free: 1.094 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.5077, allocations: 2.159 MB / 1.501 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.5098, allocations: 1.384 MB / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007454/0.5105, allocations: 377.8 kB / 1.503 GB, free: 13.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.5141, allocations: 1.498 MB / 1.504 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.515, allocations: 466 kB / 1.505 GB, free: 11.22 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.5151, allocations: 52 kB / 1.505 GB, free: 11.17 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007243/0.5223, allocations: 3.644 MB / 1.508 GB, free: 7.52 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.5226, allocations: 155.4 kB / 1.508 GB, free: 7.367 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006195/0.5232, allocations: 346.5 kB / 1.509 GB, free: 7.027 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.5283, allocations: 2.571 MB / 1.511 GB, free: 4.449 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5283, allocations: 0 / 1.511 GB, free: 4.449 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5283, allocations: 0 / 1.511 GB, free: 4.449 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.5283, allocations: 0 / 1.511 GB, free: 4.449 MB / 1.201 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.002321/0.5306, allocations: 0.9756 MB / 1.512 GB, free: 3.441 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5307, allocations: 12.03 kB / 1.512 GB, free: 3.43 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.081e-05/0.5307, allocations: 13.31 kB / 1.512 GB, free: 3.414 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.5308, allocations: 98.52 kB / 1.512 GB, free: 3.309 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5319, allocations: 139.5 kB / 1.512 GB, free: 3.172 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.5326, allocations: 367.3 kB / 1.513 GB, free: 2.781 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.5327, allocations: 37.31 kB / 1.513 GB, free: 2.746 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.5327, allocations: 55.95 kB / 1.513 GB, free: 2.691 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.534, allocations: 0.6603 MB / 1.513 GB, free: 1.98 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.534, allocations: 7.938 kB / 1.513 GB, free: 1.973 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.534, allocations: 20 kB / 1.513 GB, free: 1.953 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.534, allocations: 16 kB / 1.513 GB, free: 1.938 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.5351, allocations: 471.5 kB / 1.514 GB, free: 1.477 MB / 1.201 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.01646/0.5515, allocations: 5.978 MB / 1.52 GB, free: 11.34 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.552, allocations: 148.1 kB / 1.52 GB, free: 11.19 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.5523, allocations: 125.2 kB / 1.52 GB, free: 11.07 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.5643, allocations: 3.258 MB / 1.523 GB, free: 7.805 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.5644, allocations: 34.8 kB / 1.523 GB, free: 7.762 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 2.916e-06/0.5644, allocations: 0 / 1.523 GB, free: 7.762 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.08745/0.6518, allocations: 30.55 MB / 1.553 GB, free: 9.195 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.6519, allocations: 140.4 kB / 1.553 GB, free: 9.027 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.6525, allocations: 461.8 kB / 1.554 GB, free: 8.574 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.6525, allocations: 33.7 kB / 1.554 GB, free: 8.535 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.6528, allocations: 312.1 kB / 1.554 GB, free: 8.223 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6529, allocations: 146.7 kB / 1.554 GB, free: 8.078 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.6531, allocations: 106.3 kB / 1.554 GB, free: 7.969 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.6532, allocations: 362.8 kB / 1.555 GB, free: 7.605 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.6537, allocations: 177.2 kB / 1.555 GB, free: 7.43 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.6543, allocations: 354.9 kB / 1.555 GB, free: 7.016 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.6553, allocations: 0.5207 MB / 1.556 GB, free: 6.438 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6553, allocations: 3.938 kB / 1.556 GB, free: 6.434 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001823/0.6571, allocations: 0.6978 MB / 1.556 GB, free: 5.723 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6571, allocations: 11.94 kB / 1.556 GB, free: 5.711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6572, allocations: 8.031 kB / 1.556 GB, free: 5.703 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.6577, allocations: 117.6 kB / 1.556 GB, free: 5.582 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.6581, allocations: 111.8 kB / 1.556 GB, free: 5.473 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/0.6614, allocations: 3.203 MB / 1.56 GB, free: 2.043 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/0.6619, allocations: 23.98 kB / 1.56 GB, free: 2.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.662, allocations: 31.98 kB / 1.56 GB, free: 1.988 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0002886/0.6623, allocations: 197.7 kB / 1.56 GB, free: 1.785 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.6625, allocations: 55.67 kB / 1.56 GB, free: 1.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.664, allocations: 0.646 MB / 1.561 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.664, allocations: 4 kB / 1.561 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.664, allocations: 0 / 1.561 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.664, allocations: 3.984 kB / 1.561 GB, free: 1.043 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.6663, allocations: 1.17 MB / 1.562 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6663, allocations: 4.031 kB / 1.562 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.6666, allocations: 75.97 kB / 1.562 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.6669, allocations: 68.8 kB / 1.562 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.6669, allocations: 12 kB / 1.562 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.6687, allocations: 1.63 MB / 1.563 GB, free: 13.87 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.6687, allocations: 7.938 kB / 1.563 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6703, allocations: 0.7246 MB / 1.564 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.6704, allocations: 51.7 kB / 1.564 GB, free: 13.02 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.6705, allocations: 12 kB / 1.564 GB, free: 13.01 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.6709, allocations: 19.98 kB / 1.564 GB, free: 12.99 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.671, allocations: 39.89 kB / 1.564 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.671, allocations: 19.98 kB / 1.564 GB, free: 12.93 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004641/0.6715, allocations: 354.9 kB / 1.565 GB, free: 12.58 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6715, allocations: 0 / 1.565 GB, free: 12.58 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001685/0.6732, allocations: 0.5695 MB / 1.565 GB, free: 12.01 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.003864/0.677, allocations: 1.737 MB / 1.567 GB, free: 10.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.6786, allocations: 0.6401 MB / 1.567 GB, free: 9.531 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6786, allocations: 3.938 kB / 1.568 GB, free: 9.527 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.6792, allocations: 283.4 kB / 1.568 GB, free: 9.238 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6808, allocations: 306.1 kB / 1.568 GB, free: 8.945 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008901/0.6897, allocations: 5.354 MB / 1.573 GB, free: 3.285 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.6902, allocations: 0.8629 MB / 1.574 GB, free: 2.395 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004795/0.6907, allocations: 112.2 kB / 1.574 GB, free: 2.293 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.691, allocations: 191.4 kB / 1.574 GB, free: 2.105 MB / 1.264 GB Notification: Performance of SimCode: time 6.11e-07/0.691, allocations: 0 / 1.574 GB, free: 2.105 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.7562, allocations: 29.09 MB / 1.603 GB, free: 5.398 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.58, allocations: 6.125 kB / 1.603 GB, free: 5.395 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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: 21.78051539999433]