Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.001394/0.001394, allocations: 114 kB / 17.6 MB, free: 4.699 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.001456/0.001456, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.405/1.405, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8503, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1961/1.046, allocations: 164 MB / 1.432 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01254/1.059, allocations: 8.16 MB / 1.44 GB, free: 7.121 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/1.06, allocations: 16.12 kB / 1.44 GB, free: 7.117 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/1.061, allocations: 364.1 kB / 1.44 GB, free: 6.82 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/1.064, allocations: 0.7529 MB / 1.441 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006677/1.07, allocations: 2.153 MB / 1.443 GB, free: 4.668 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002223/1.072, allocations: 1.382 MB / 1.444 GB, free: 3.863 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000878/1.073, allocations: 367.9 kB / 1.445 GB, free: 3.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/1.077, allocations: 1.459 MB / 1.446 GB, free: 2.035 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009604/1.078, allocations: 462.1 kB / 1.446 GB, free: 1.582 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/1.078, allocations: 52 kB / 1.446 GB, free: 1.531 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008373/1.087, allocations: 3.632 MB / 1.45 GB, free: 13.89 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/1.087, allocations: 155.4 kB / 1.45 GB, free: 13.74 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007057/1.088, allocations: 350.4 kB / 1.451 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/1.093, allocations: 2.564 MB / 1.453 GB, free: 10.83 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.093, allocations: 4 kB / 1.453 GB, free: 10.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.603e-06/1.093, allocations: 0 / 1.453 GB, free: 10.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.37e-05/1.093, allocations: 4 kB / 1.453 GB, free: 10.82 MB / 1.139 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.002413/1.095, allocations: 1.039 MB / 1.454 GB, free: 9.73 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.095, allocations: 8.031 kB / 1.454 GB, free: 9.723 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/1.095, allocations: 98.52 kB / 1.454 GB, free: 9.617 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.097, allocations: 143.5 kB / 1.454 GB, free: 9.477 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/1.097, allocations: 429.8 kB / 1.455 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/1.097, allocations: 41.31 kB / 1.455 GB, free: 8.977 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/1.097, allocations: 48 kB / 1.455 GB, free: 8.93 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/1.099, allocations: 0.6564 MB / 1.455 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.099, allocations: 7.938 kB / 1.455 GB, free: 8.215 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/1.099, allocations: 24 kB / 1.455 GB, free: 8.191 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.099, allocations: 12 kB / 1.455 GB, free: 8.18 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/1.1, allocations: 471.5 kB / 1.456 GB, free: 7.723 MB / 1.139 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.01618/1.116, allocations: 6.495 MB / 1.462 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/1.116, allocations: 155.2 kB / 1.462 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/1.117, allocations: 122.1 kB / 1.463 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/1.129, allocations: 3.857 MB / 1.466 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/1.129, allocations: 38.8 kB / 1.466 GB, free: 12.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 1.884e-06/1.129, allocations: 0 / 1.466 GB, free: 12.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.08848/1.217, allocations: 30.61 MB / 1.496 GB, free: 13.97 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.217, allocations: 148.4 kB / 1.496 GB, free: 13.79 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/1.218, allocations: 453.8 kB / 1.497 GB, free: 13.35 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/1.218, allocations: 33.7 kB / 1.497 GB, free: 13.31 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/1.218, allocations: 312.2 kB / 1.497 GB, free: 13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.218, allocations: 158.6 kB / 1.497 GB, free: 12.84 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.219, allocations: 102.2 kB / 1.497 GB, free: 12.73 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.219, allocations: 358.8 kB / 1.498 GB, free: 12.37 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/1.219, allocations: 185 kB / 1.498 GB, free: 12.19 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/1.22, allocations: 353.2 kB / 1.498 GB, free: 11.78 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/1.221, allocations: 0.5169 MB / 1.499 GB, free: 11.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.221, allocations: 0 / 1.499 GB, free: 11.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001873/1.223, allocations: 0.7015 MB / 1.499 GB, free: 10.49 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.223, allocations: 8 kB / 1.499 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.223, allocations: 4 kB / 1.499 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/1.223, allocations: 117.6 kB / 1.5 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/1.224, allocations: 120.1 kB / 1.5 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/1.227, allocations: 3.406 MB / 1.503 GB, free: 6.551 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/1.228, allocations: 23.98 kB / 1.503 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/1.228, allocations: 27.98 kB / 1.503 GB, free: 6.5 MB / 1.186 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.0003356/1.228, allocations: 199.4 kB / 1.503 GB, free: 6.297 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/1.229, allocations: 63.56 kB / 1.503 GB, free: 6.234 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/1.23, allocations: 0.6481 MB / 1.504 GB, free: 5.559 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/1.23, allocations: 4 kB / 1.504 GB, free: 5.555 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.23, allocations: 0 / 1.504 GB, free: 5.555 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.23, allocations: 3.984 kB / 1.504 GB, free: 5.551 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/1.233, allocations: 1.199 MB / 1.505 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/1.233, allocations: 4 kB / 1.505 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/1.233, allocations: 67.83 kB / 1.505 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/1.233, allocations: 68.8 kB / 1.505 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/1.233, allocations: 16.06 kB / 1.505 GB, free: 4.086 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/1.235, allocations: 1.74 MB / 1.507 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.235, allocations: 11.88 kB / 1.507 GB, free: 2.199 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/1.237, allocations: 0.7195 MB / 1.508 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/1.237, allocations: 124.8 kB / 1.508 GB, free: 1.273 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.237, allocations: 12 kB / 1.508 GB, free: 1.262 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/1.238, allocations: 28.03 kB / 1.508 GB, free: 1.234 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/1.238, allocations: 39.78 kB / 1.508 GB, free: 1.195 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/1.238, allocations: 12 kB / 1.508 GB, free: 1.184 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004873/1.238, allocations: 358.8 kB / 1.508 GB, free: 0.832 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.238, allocations: 4 kB / 1.508 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001886/1.24, allocations: 0.5656 MB / 1.509 GB, free: 268 kB / 1.186 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.00426/1.244, allocations: 1.738 MB / 1.51 GB, free: 14.45 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.246, allocations: 0.6346 MB / 1.511 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.246, allocations: 7.938 kB / 1.511 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/1.247, allocations: 278.4 kB / 1.511 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.248, allocations: 309.2 kB / 1.512 GB, free: 13.21 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009737/1.258, allocations: 5.36 MB / 1.517 GB, free: 7.543 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/1.259, allocations: 0.8628 MB / 1.518 GB, free: 6.652 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000521/1.259, allocations: 112.7 kB / 1.518 GB, free: 6.551 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.259, allocations: 187.4 kB / 1.518 GB, free: 6.367 MB / 1.201 GB Notification: Performance of SimCode: time 8.92e-07/1.259, allocations: 0 / 1.518 GB, free: 6.367 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/1.329, allocations: 28.69 MB / 1.546 GB, free: 10.03 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/14.19, allocations: 3.984 kB / 1.546 GB, free: 10.02 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.91030204098206]