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.001381/0.001381, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001582/0.001582, allocations: 216.9 kB / 22.25 MB, free: 5.121 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.969 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.088/3.088, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",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.002071/0.002071, allocations: 68.81 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1821/0.508, allocations: 166.9 MB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.519, allocations: 8.195 MB / 1.497 GB, free: 2.164 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006408/0.5196, allocations: 23.81 kB / 1.497 GB, free: 2.141 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.5207, allocations: 353.8 kB / 1.497 GB, free: 1.793 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.5226, allocations: 0.767 MB / 1.498 GB, free: 1.023 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005104/0.5277, allocations: 2.157 MB / 1.5 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.5296, allocations: 1.376 MB / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.5302, allocations: 377.8 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.5335, allocations: 1.502 MB / 1.503 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.5343, allocations: 466.1 kB / 1.504 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.5344, allocations: 52 kB / 1.504 GB, free: 11.1 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006811/0.5412, allocations: 3.644 MB / 1.507 GB, free: 7.453 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.5414, allocations: 155.4 kB / 1.508 GB, free: 7.301 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.5419, allocations: 342.5 kB / 1.508 GB, free: 6.965 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.5463, allocations: 2.579 MB / 1.51 GB, free: 4.379 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5463, allocations: 3.938 kB / 1.51 GB, free: 4.375 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5463, allocations: 0 / 1.51 GB, free: 4.375 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.5463, allocations: 0 / 1.51 GB, free: 4.375 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.002333/0.5486, allocations: 0.9678 MB / 1.511 GB, free: 3.375 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5487, allocations: 16.03 kB / 1.511 GB, free: 3.359 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.5488, allocations: 94.5 kB / 1.511 GB, free: 3.258 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.5499, allocations: 143.5 kB / 1.512 GB, free: 3.117 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007319/0.5506, allocations: 371.3 kB / 1.512 GB, free: 2.723 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.5506, allocations: 37.31 kB / 1.512 GB, free: 2.684 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.5507, allocations: 55.94 kB / 1.512 GB, free: 2.629 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5519, allocations: 0.6612 MB / 1.513 GB, free: 1.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.5519, allocations: 3.938 kB / 1.513 GB, free: 1.914 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.552, allocations: 24 kB / 1.513 GB, free: 1.891 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.552, allocations: 20 kB / 1.513 GB, free: 1.871 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009963/0.553, allocations: 471.5 kB / 1.513 GB, free: 1.41 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.01559/0.5686, allocations: 5.966 MB / 1.519 GB, free: 11.29 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.569, allocations: 159.1 kB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.5693, allocations: 109.3 kB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.5804, allocations: 3.262 MB / 1.522 GB, free: 7.75 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.5804, allocations: 42.8 kB / 1.522 GB, free: 7.699 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 1.903e-06/0.5804, allocations: 0 / 1.522 GB, free: 7.699 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.08152/0.6619, allocations: 30.54 MB / 1.552 GB, free: 9.145 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.662, allocations: 144.4 kB / 1.552 GB, free: 8.973 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.6626, allocations: 461.8 kB / 1.553 GB, free: 8.523 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.6627, allocations: 37.7 kB / 1.553 GB, free: 8.48 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.663, allocations: 312.1 kB / 1.553 GB, free: 8.172 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6631, allocations: 146.7 kB / 1.553 GB, free: 8.027 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.6633, allocations: 102.3 kB / 1.553 GB, free: 7.922 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6635, allocations: 362.8 kB / 1.554 GB, free: 7.559 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.6639, allocations: 185.2 kB / 1.554 GB, free: 7.375 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.6645, allocations: 354.1 kB / 1.554 GB, free: 6.961 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.6654, allocations: 0.5188 MB / 1.555 GB, free: 6.383 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6654, allocations: 7.938 kB / 1.555 GB, free: 6.375 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001848/0.6673, allocations: 0.6992 MB / 1.555 GB, free: 5.664 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6673, allocations: 4 kB / 1.555 GB, free: 5.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6673, allocations: 7.984 kB / 1.555 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.6678, allocations: 122 kB / 1.556 GB, free: 5.527 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.6683, allocations: 111.8 kB / 1.556 GB, free: 5.418 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.6717, allocations: 3.195 MB / 1.559 GB, free: 1.992 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.6723, allocations: 36.12 kB / 1.559 GB, free: 1.957 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.6723, allocations: 20 kB / 1.559 GB, free: 1.938 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.0002991/0.6726, allocations: 195.3 kB / 1.559 GB, free: 1.738 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.6729, allocations: 67.55 kB / 1.559 GB, free: 1.672 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.6743, allocations: 0.6461 MB / 1.56 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6744, allocations: 8 kB / 1.56 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6744, allocations: 3.984 kB / 1.56 GB, free: 0.9805 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6744, allocations: 0 / 1.56 GB, free: 0.9805 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.6767, allocations: 1.167 MB / 1.561 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.6767, allocations: 4 kB / 1.561 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.677, allocations: 67.84 kB / 1.561 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.6773, allocations: 73.3 kB / 1.561 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.6773, allocations: 12 kB / 1.561 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.6792, allocations: 1.634 MB / 1.563 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.6792, allocations: 7.938 kB / 1.563 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.6807, allocations: 0.7246 MB / 1.563 GB, free: 13.01 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.6808, allocations: 47.7 kB / 1.563 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.785e-05/0.6809, allocations: 16 kB / 1.563 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.6813, allocations: 19.98 kB / 1.563 GB, free: 12.93 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.6814, allocations: 35.83 kB / 1.563 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.6814, allocations: 24.05 kB / 1.564 GB, free: 12.87 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004678/0.6819, allocations: 354.9 kB / 1.564 GB, free: 12.52 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6819, allocations: 0 / 1.564 GB, free: 12.52 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001745/0.6836, allocations: 0.5656 MB / 1.564 GB, free: 11.95 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.003798/0.6874, allocations: 1.732 MB / 1.566 GB, free: 10.15 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.689, allocations: 0.6501 MB / 1.567 GB, free: 9.473 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.689, allocations: 8 kB / 1.567 GB, free: 9.465 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.6896, allocations: 274.4 kB / 1.567 GB, free: 9.184 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.6912, allocations: 303.4 kB / 1.567 GB, free: 8.891 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009307/0.7005, allocations: 5.35 MB / 1.573 GB, free: 3.23 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.7011, allocations: 0.8707 MB / 1.573 GB, free: 2.332 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.7016, allocations: 105.2 kB / 1.573 GB, free: 2.238 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.7018, allocations: 187.4 kB / 1.574 GB, free: 2.055 MB / 1.264 GB Notification: Performance of SimCode: time 9.22e-07/0.7018, allocations: 4 kB / 1.574 GB, free: 2.051 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/0.7759, allocations: 29.07 MB / 1.602 GB, free: 5.348 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.8, allocations: 5.812 kB / 1.602 GB, free: 5.344 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.906145598972216]