Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001305/0.001305, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001825/0.001825, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.266/3.266, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_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.00206/0.00206, allocations: 67.91 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1845/0.5356, allocations: 144.3 MB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.5475, allocations: 7.475 MB / 1.512 GB, free: 5.766 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007505/0.5482, allocations: 23.81 kB / 1.512 GB, free: 5.742 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5495, allocations: 333.9 kB / 1.512 GB, free: 5.414 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.552, allocations: 0.7604 MB / 1.513 GB, free: 4.652 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.5576, allocations: 2.153 MB / 1.515 GB, free: 2.504 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.5597, allocations: 1.38 MB / 1.516 GB, free: 1.121 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.5605, allocations: 354.1 kB / 1.517 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.5641, allocations: 1.49 MB / 1.518 GB, free: 15.27 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.565, allocations: 442 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.5652, allocations: 52 kB / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007713/0.5729, allocations: 3.511 MB / 1.522 GB, free: 11.27 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.5733, allocations: 147.4 kB / 1.522 GB, free: 11.13 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.5739, allocations: 290.8 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.5788, allocations: 2.579 MB / 1.525 GB, free: 8.258 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5788, allocations: 0 / 1.525 GB, free: 8.258 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5788, allocations: 0 / 1.525 GB, free: 8.258 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.316e-05/0.5788, allocations: 0 / 1.525 GB, free: 8.258 MB / 1.217 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.002573/0.5814, allocations: 0.9732 MB / 1.526 GB, free: 7.254 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5814, allocations: 15.97 kB / 1.526 GB, free: 7.238 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.5816, allocations: 90.52 kB / 1.526 GB, free: 7.141 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5827, allocations: 147.5 kB / 1.526 GB, free: 6.996 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008639/0.5836, allocations: 375.3 kB / 1.526 GB, free: 6.602 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.5837, allocations: 41.31 kB / 1.526 GB, free: 6.559 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.5838, allocations: 55.94 kB / 1.526 GB, free: 6.504 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5853, allocations: 0.9867 MB / 1.527 GB, free: 5.387 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5853, allocations: 0 / 1.527 GB, free: 5.387 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.5853, allocations: 24 kB / 1.527 GB, free: 5.363 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5854, allocations: 16 kB / 1.527 GB, free: 5.348 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5865, allocations: 467.5 kB / 1.528 GB, free: 4.891 MB / 1.217 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.01711/0.6036, allocations: 5.606 MB / 1.533 GB, free: 15.19 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.6041, allocations: 151.1 kB / 1.534 GB, free: 15.04 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.6044, allocations: 125.2 kB / 1.534 GB, free: 14.91 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.6166, allocations: 3.266 MB / 1.537 GB, free: 11.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.6166, allocations: 34.8 kB / 1.537 GB, free: 11.6 MB / 1.232 GB Notification: Performance of pre-optimization done (n=27): time 2.285e-06/0.6166, allocations: 0 / 1.537 GB, free: 11.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.09261/0.7092, allocations: 30.54 MB / 1.567 GB, free: 13.04 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.7093, allocations: 140.4 kB / 1.567 GB, free: 12.87 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.71, allocations: 469.7 kB / 1.567 GB, free: 12.41 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.71, allocations: 33.7 kB / 1.567 GB, free: 12.38 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.7103, allocations: 316.2 kB / 1.568 GB, free: 12.06 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.7104, allocations: 150.7 kB / 1.568 GB, free: 11.91 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.7106, allocations: 102.3 kB / 1.568 GB, free: 11.81 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7107, allocations: 362.8 kB / 1.568 GB, free: 11.45 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.7112, allocations: 177.2 kB / 1.568 GB, free: 11.27 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.7118, allocations: 439.2 kB / 1.569 GB, free: 10.75 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.7129, allocations: 0.5108 MB / 1.569 GB, free: 10.18 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.7129, allocations: 8 kB / 1.569 GB, free: 10.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001884/0.7148, allocations: 0.6995 MB / 1.57 GB, free: 9.465 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7148, allocations: 4 kB / 1.57 GB, free: 9.461 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7148, allocations: 8 kB / 1.57 GB, free: 9.453 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.7153, allocations: 117.6 kB / 1.57 GB, free: 9.332 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.7158, allocations: 120.2 kB / 1.57 GB, free: 9.215 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.7194, allocations: 3.183 MB / 1.573 GB, free: 5.801 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.7199, allocations: 23.98 kB / 1.573 GB, free: 5.777 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.72, allocations: 31.92 kB / 1.573 GB, free: 5.746 MB / 1.264 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.0003022/0.7203, allocations: 189.7 kB / 1.574 GB, free: 5.551 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.7206, allocations: 59.61 kB / 1.574 GB, free: 5.492 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.7221, allocations: 0.6458 MB / 1.574 GB, free: 4.816 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.7221, allocations: 8 kB / 1.574 GB, free: 4.809 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7221, allocations: 4 kB / 1.574 GB, free: 4.805 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.7221, allocations: 7.922 kB / 1.574 GB, free: 4.797 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.7246, allocations: 1.098 MB / 1.575 GB, free: 3.598 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7246, allocations: 4 kB / 1.575 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.725, allocations: 68.39 kB / 1.575 GB, free: 3.527 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.7252, allocations: 72.75 kB / 1.575 GB, free: 3.453 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.7253, allocations: 12 kB / 1.575 GB, free: 3.441 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.7272, allocations: 1.625 MB / 1.577 GB, free: 1.703 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.7272, allocations: 7.938 kB / 1.577 GB, free: 1.695 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.7289, allocations: 0.7368 MB / 1.578 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.729, allocations: 47.7 kB / 1.578 GB, free: 0.8438 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7291, allocations: 8 kB / 1.578 GB, free: 0.8359 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.7295, allocations: 24.05 kB / 1.578 GB, free: 0.8125 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.7296, allocations: 39.83 kB / 1.578 GB, free: 0.7734 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.7297, allocations: 19.98 kB / 1.578 GB, free: 0.7539 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004966/0.7302, allocations: 354.9 kB / 1.578 GB, free: 416 kB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7302, allocations: 0 / 1.578 GB, free: 416 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.001735/0.7319, allocations: 0.5657 MB / 1.579 GB, free: 15.84 MB / 1.279 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.004016/0.7359, allocations: 1.726 MB / 1.58 GB, free: 14.04 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.7376, allocations: 0.65 MB / 1.581 GB, free: 13.36 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.7376, allocations: 7.953 kB / 1.581 GB, free: 13.36 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005935/0.7382, allocations: 273.1 kB / 1.581 GB, free: 13.08 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.7399, allocations: 303.7 kB / 1.582 GB, free: 12.78 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/0.7496, allocations: 5.345 MB / 1.587 GB, free: 7.125 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.7499, allocations: 266.8 kB / 1.587 GB, free: 6.836 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0005082/0.7504, allocations: 110.3 kB / 1.587 GB, free: 6.738 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.7507, allocations: 191.4 kB / 1.587 GB, free: 6.555 MB / 1.279 GB Notification: Performance of SimCode: time 6.21e-07/0.7507, allocations: 0 / 1.587 GB, free: 6.555 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7013/1.452, allocations: 30.23 MB / 1.617 GB, free: 233.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.39, allocations: 14.61 kB / 1.617 GB, free: 233.2 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.32607517996803]