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.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.002144/0.002144, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00237/0.00237, allocations: 217.2 kB / 23.03 MB, free: 4.949 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.663/2.663, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_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.002178/0.002178, allocations: 66.2 kB / 1.118 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 169.9 MB / 1.284 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1682/0.4876, allocations: 144.2 MB / 1.425 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.4987, allocations: 7.475 MB / 1.432 GB, free: 11.16 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.4994, allocations: 23.81 kB / 1.432 GB, free: 11.14 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.5006, allocations: 337.8 kB / 1.433 GB, free: 10.8 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.5027, allocations: 0.7448 MB / 1.433 GB, free: 10.06 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.508, allocations: 2.166 MB / 1.435 GB, free: 7.898 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.51, allocations: 1.384 MB / 1.437 GB, free: 6.508 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.5107, allocations: 366.1 kB / 1.437 GB, free: 6.145 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.5143, allocations: 1.494 MB / 1.439 GB, free: 4.645 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009477/0.5152, allocations: 462.2 kB / 1.439 GB, free: 4.191 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.5154, allocations: 52 kB / 1.439 GB, free: 4.141 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007419/0.5228, allocations: 3.593 MB / 1.443 GB, free: 0.543 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.5231, allocations: 151.4 kB / 1.443 GB, free: 404 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.5238, allocations: 298.8 kB / 1.443 GB, free: 104 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.5289, allocations: 2.579 MB / 1.446 GB, free: 13.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5289, allocations: 0 / 1.446 GB, free: 13.52 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5289, allocations: 0 / 1.446 GB, free: 13.52 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.448e-05/0.5289, allocations: 0 / 1.446 GB, free: 13.52 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.002794/0.5317, allocations: 0.9717 MB / 1.446 GB, free: 12.51 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5318, allocations: 8.031 kB / 1.446 GB, free: 12.5 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.724e-05/0.5318, allocations: 17.31 kB / 1.446 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.532, allocations: 98.52 kB / 1.447 GB, free: 12.38 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.5333, allocations: 139.5 kB / 1.447 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/0.5342, allocations: 371.3 kB / 1.447 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.5342, allocations: 37.31 kB / 1.447 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5343, allocations: 60 kB / 1.447 GB, free: 11.76 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.5358, allocations: 0.9789 MB / 1.448 GB, free: 10.65 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.5359, allocations: 7.891 kB / 1.448 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.5359, allocations: 24 kB / 1.448 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.536, allocations: 16 kB / 1.448 GB, free: 10.61 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5371, allocations: 471.6 kB / 1.449 GB, free: 10.14 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.01614/0.5532, allocations: 5.61 MB / 1.454 GB, free: 4.438 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.5537, allocations: 155.1 kB / 1.454 GB, free: 4.277 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.554, allocations: 113.3 kB / 1.454 GB, free: 4.164 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.5657, allocations: 3.262 MB / 1.458 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.5658, allocations: 42.8 kB / 1.458 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 2.524e-06/0.5658, allocations: 0 / 1.458 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.08561/0.6514, allocations: 30.55 MB / 1.487 GB, free: 2.281 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/0.6515, allocations: 140.4 kB / 1.488 GB, free: 2.113 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.6521, allocations: 457.8 kB / 1.488 GB, free: 1.66 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.6522, allocations: 37.64 kB / 1.488 GB, free: 1.617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.6524, allocations: 312.2 kB / 1.488 GB, free: 1.305 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.6526, allocations: 154.7 kB / 1.488 GB, free: 1.152 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.6527, allocations: 102.3 kB / 1.489 GB, free: 1.047 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6529, allocations: 362.7 kB / 1.489 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.6533, allocations: 181.2 kB / 1.489 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.654, allocations: 431.3 kB / 1.489 GB, free: 15.99 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.655, allocations: 0.5245 MB / 1.49 GB, free: 15.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.655, allocations: 0 / 1.49 GB, free: 15.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001893/0.6569, allocations: 0.6936 MB / 1.491 GB, free: 14.71 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.6569, allocations: 8 kB / 1.491 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6569, allocations: 7.984 kB / 1.491 GB, free: 14.69 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/0.6574, allocations: 122.1 kB / 1.491 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.6579, allocations: 115.8 kB / 1.491 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.6613, allocations: 3.187 MB / 1.494 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.662, allocations: 27.98 kB / 1.494 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.6621, allocations: 35.92 kB / 1.494 GB, free: 10.98 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.0003747/0.6624, allocations: 197.7 kB / 1.494 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.6627, allocations: 55.67 kB / 1.494 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.6643, allocations: 0.6489 MB / 1.495 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6643, allocations: 4 kB / 1.495 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6643, allocations: 0 / 1.495 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6643, allocations: 3.984 kB / 1.495 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.6667, allocations: 1.101 MB / 1.496 GB, free: 8.836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.6667, allocations: 8.031 kB / 1.496 GB, free: 8.828 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.6671, allocations: 67.89 kB / 1.496 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.6674, allocations: 64.81 kB / 1.496 GB, free: 8.695 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.6674, allocations: 8 kB / 1.496 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.6693, allocations: 1.637 MB / 1.498 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6693, allocations: 4 kB / 1.498 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.6709, allocations: 0.7246 MB / 1.499 GB, free: 6.141 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.671, allocations: 47.7 kB / 1.499 GB, free: 6.094 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6711, allocations: 15.94 kB / 1.499 GB, free: 6.078 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.6715, allocations: 23.98 kB / 1.499 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.6716, allocations: 35.83 kB / 1.499 GB, free: 6.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.6717, allocations: 23.98 kB / 1.499 GB, free: 5.996 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000492/0.6722, allocations: 354.9 kB / 1.499 GB, free: 5.648 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6722, allocations: 0 / 1.499 GB, free: 5.648 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001885/0.674, allocations: 0.5695 MB / 1.5 GB, free: 5.078 MB / 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.004429/0.6785, allocations: 1.717 MB / 1.501 GB, free: 3.281 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.6802, allocations: 0.6357 MB / 1.502 GB, free: 2.621 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.6802, allocations: 3.953 kB / 1.502 GB, free: 2.617 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.6808, allocations: 287.7 kB / 1.502 GB, free: 2.324 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.6826, allocations: 314.1 kB / 1.502 GB, free: 2.027 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.6936, allocations: 5.335 MB / 1.508 GB, free: 12.38 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.6939, allocations: 270.8 kB / 1.508 GB, free: 12.08 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005687/0.6945, allocations: 112.3 kB / 1.508 GB, free: 11.98 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.6948, allocations: 187.4 kB / 1.508 GB, free: 11.8 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/0.6948, allocations: 3.938 kB / 1.508 GB, free: 11.79 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07156/0.7664, allocations: 29.91 MB / 1.537 GB, free: 14.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.67, allocations: 11.19 kB / 1.537 GB, free: 14.43 MB / 1.248 GB " [Timeout remaining time 285] (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/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: 21.090343928080983]