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.001597/0.001597, allocations: 109 kB / 16.45 MB, free: 6.508 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.001861/0.001861, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.38/1.38, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.659/2.659, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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.001953/0.001953, allocations: 67.89 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8198, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1931/1.013, allocations: 163.7 MB / 1.429 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01295/1.026, allocations: 8.145 MB / 1.437 GB, free: 8.641 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/1.027, allocations: 11.94 kB / 1.437 GB, free: 8.629 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/1.028, allocations: 369.8 kB / 1.437 GB, free: 8.266 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002951/1.031, allocations: 0.7463 MB / 1.438 GB, free: 7.516 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006652/1.038, allocations: 2.146 MB / 1.44 GB, free: 5.375 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002925/1.041, allocations: 1.372 MB / 1.441 GB, free: 3.996 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/1.042, allocations: 369.5 kB / 1.441 GB, free: 3.629 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004648/1.047, allocations: 1.463 MB / 1.443 GB, free: 2.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/1.048, allocations: 462.1 kB / 1.443 GB, free: 1.707 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/1.048, allocations: 52 kB / 1.443 GB, free: 1.656 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/1.056, allocations: 3.636 MB / 1.447 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/1.056, allocations: 151.4 kB / 1.447 GB, free: 13.87 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007305/1.057, allocations: 354.3 kB / 1.447 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005942/1.063, allocations: 2.568 MB / 1.45 GB, free: 10.95 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.063, allocations: 0 / 1.45 GB, free: 10.95 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/1.063, allocations: 8 kB / 1.45 GB, free: 10.94 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.469e-05/1.063, allocations: 0 / 1.45 GB, free: 10.94 MB / 1.154 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.002809/1.066, allocations: 1.035 MB / 1.451 GB, free: 9.852 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.066, allocations: 12.03 kB / 1.451 GB, free: 9.84 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/1.066, allocations: 102.5 kB / 1.451 GB, free: 9.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.067, allocations: 139.4 kB / 1.451 GB, free: 9.594 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/1.068, allocations: 429.9 kB / 1.452 GB, free: 9.137 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/1.068, allocations: 37.31 kB / 1.452 GB, free: 9.098 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.068, allocations: 52 kB / 1.452 GB, free: 9.047 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.07, allocations: 0.6564 MB / 1.452 GB, free: 8.34 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/1.07, allocations: 4 kB / 1.452 GB, free: 8.336 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/1.07, allocations: 20 kB / 1.452 GB, free: 8.316 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/1.07, allocations: 19.98 kB / 1.452 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.071, allocations: 471.5 kB / 1.453 GB, free: 7.836 MB / 1.154 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.01664/1.087, allocations: 6.491 MB / 1.459 GB, free: 1.066 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/1.088, allocations: 159.1 kB / 1.459 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/1.088, allocations: 117.3 kB / 1.459 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/1.1, allocations: 3.857 MB / 1.463 GB, free: 12.78 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.1, allocations: 34.8 kB / 1.463 GB, free: 12.73 MB / 1.17 GB Notification: Performance of pre-optimization done (n=27): time 2.074e-06/1.1, allocations: 4 kB / 1.463 GB, free: 12.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=40): time 0.08425/1.184, allocations: 30.61 MB / 1.493 GB, free: 14.09 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/1.184, allocations: 144.4 kB / 1.493 GB, free: 13.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/1.185, allocations: 453.8 kB / 1.494 GB, free: 13.47 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/1.185, allocations: 45.64 kB / 1.494 GB, free: 13.42 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/1.185, allocations: 312.2 kB / 1.494 GB, free: 13.11 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/1.185, allocations: 142.8 kB / 1.494 GB, free: 12.97 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/1.186, allocations: 106.2 kB / 1.494 GB, free: 12.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.186, allocations: 358.8 kB / 1.495 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/1.186, allocations: 181 kB / 1.495 GB, free: 12.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/1.187, allocations: 357.2 kB / 1.495 GB, free: 11.91 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/1.188, allocations: 0.5129 MB / 1.496 GB, free: 11.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.188, allocations: 4 kB / 1.496 GB, free: 11.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001838/1.19, allocations: 0.7054 MB / 1.496 GB, free: 10.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.19, allocations: 8 kB / 1.496 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.19, allocations: 4 kB / 1.496 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/1.19, allocations: 114 kB / 1.496 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/1.191, allocations: 119.8 kB / 1.497 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/1.194, allocations: 3.406 MB / 1.5 GB, free: 6.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/1.195, allocations: 32.05 kB / 1.5 GB, free: 6.648 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/1.195, allocations: 27.98 kB / 1.5 GB, free: 6.621 MB / 1.201 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.0003023/1.195, allocations: 197 kB / 1.5 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/1.195, allocations: 59.66 kB / 1.5 GB, free: 6.363 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.197, allocations: 0.6524 MB / 1.501 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.197, allocations: 4 kB / 1.501 GB, free: 5.68 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/1.197, allocations: 0 / 1.501 GB, free: 5.68 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.197, allocations: 7.984 kB / 1.501 GB, free: 5.672 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/1.199, allocations: 1.207 MB / 1.502 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.199, allocations: 4 kB / 1.502 GB, free: 4.352 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/1.199, allocations: 63.89 kB / 1.502 GB, free: 4.289 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/1.2, allocations: 69.22 kB / 1.502 GB, free: 4.219 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/1.2, allocations: 16 kB / 1.502 GB, free: 4.203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.202, allocations: 1.736 MB / 1.504 GB, free: 2.328 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.202, allocations: 7.938 kB / 1.504 GB, free: 2.32 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/1.203, allocations: 0.7169 MB / 1.505 GB, free: 1.535 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.203, allocations: 128.8 kB / 1.505 GB, free: 1.391 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.203, allocations: 19.94 kB / 1.505 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/1.204, allocations: 23.97 kB / 1.505 GB, free: 1.348 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/1.204, allocations: 35.84 kB / 1.505 GB, free: 1.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/1.204, allocations: 12 kB / 1.505 GB, free: 1.301 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005231/1.205, allocations: 362.8 kB / 1.505 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.205, allocations: 0 / 1.505 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001775/1.206, allocations: 0.5656 MB / 1.506 GB, free: 388 kB / 1.201 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.004036/1.21, allocations: 1.729 MB / 1.507 GB, free: 14.58 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001586/1.212, allocations: 0.6463 MB / 1.508 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.212, allocations: 0 / 1.508 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/1.213, allocations: 281.5 kB / 1.508 GB, free: 13.62 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.214, allocations: 303.2 kB / 1.509 GB, free: 13.33 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009516/1.224, allocations: 5.346 MB / 1.514 GB, free: 7.68 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/1.224, allocations: 0.8628 MB / 1.515 GB, free: 6.789 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004876/1.225, allocations: 116.4 kB / 1.515 GB, free: 6.684 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/1.225, allocations: 191.3 kB / 1.515 GB, free: 6.496 MB / 1.217 GB Notification: Performance of SimCode: time 1.172e-06/1.225, allocations: 4 kB / 1.515 GB, free: 6.492 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0727/1.298, allocations: 28.66 MB / 1.543 GB, free: 10.26 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.38, allocations: 3.938 kB / 1.543 GB, free: 10.25 MB / 1.248 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 --stepSize=0.0004 --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: 20.18884721910581]