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.002202/0.002202, 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.002747/0.002747, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.801 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.769/2.769, allocations: 476 MB / 0.7699 GB, free: 4.746 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="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: 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.002106/0.002106, allocations: 69.06 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1784/0.4681, allocations: 144.3 MB / 1.423 GB, free: 11.6 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.479, allocations: 7.486 MB / 1.431 GB, free: 4.094 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.4795, allocations: 23.81 kB / 1.431 GB, free: 4.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.4804, allocations: 325.9 kB / 1.431 GB, free: 3.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.4821, allocations: 0.7563 MB / 1.432 GB, free: 2.992 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004891/0.487, allocations: 2.16 MB / 1.434 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.4887, allocations: 1.384 MB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.4893, allocations: 362.1 kB / 1.436 GB, free: 15.09 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.4924, allocations: 1.478 MB / 1.437 GB, free: 13.6 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/0.4931, allocations: 450.1 kB / 1.438 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.4932, allocations: 56 kB / 1.438 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006659/0.4999, allocations: 3.503 MB / 1.441 GB, free: 9.598 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.5001, allocations: 151.4 kB / 1.441 GB, free: 9.449 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.5004, allocations: 290.8 kB / 1.441 GB, free: 9.164 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.5043, allocations: 2.575 MB / 1.444 GB, free: 6.582 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5043, allocations: 0 / 1.444 GB, free: 6.582 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5043, allocations: 0 / 1.444 GB, free: 6.582 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5043, allocations: 4 kB / 1.444 GB, free: 6.578 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.002017/0.5063, allocations: 0.9717 MB / 1.445 GB, free: 5.574 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5064, allocations: 8.031 kB / 1.445 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.5065, allocations: 98.52 kB / 1.445 GB, free: 5.461 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.5078, allocations: 139.5 kB / 1.445 GB, free: 5.324 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.5085, allocations: 363.3 kB / 1.446 GB, free: 4.941 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.5086, allocations: 45.23 kB / 1.446 GB, free: 4.895 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.5087, allocations: 52 kB / 1.446 GB, free: 4.844 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5101, allocations: 0.9828 MB / 1.447 GB, free: 3.734 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.5101, allocations: 7.953 kB / 1.447 GB, free: 3.727 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.5102, allocations: 28 kB / 1.447 GB, free: 3.699 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.5102, allocations: 12 kB / 1.447 GB, free: 3.688 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5113, allocations: 463.5 kB / 1.447 GB, free: 3.234 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.01691/0.5282, allocations: 5.614 MB / 1.453 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.5286, allocations: 155.1 kB / 1.453 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.5289, allocations: 117.2 kB / 1.453 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.5414, allocations: 3.266 MB / 1.456 GB, free: 9.977 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.5415, allocations: 34.8 kB / 1.456 GB, free: 9.934 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 2.324e-06/0.5415, allocations: 0 / 1.456 GB, free: 9.934 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.09077/0.6323, allocations: 30.55 MB / 1.486 GB, free: 11.37 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.6324, allocations: 144.4 kB / 1.486 GB, free: 11.2 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.633, allocations: 461.7 kB / 1.486 GB, free: 10.74 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.6331, allocations: 37.7 kB / 1.486 GB, free: 10.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.6333, allocations: 308.2 kB / 1.487 GB, free: 10.39 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.6335, allocations: 150.7 kB / 1.487 GB, free: 10.24 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.6336, allocations: 110.3 kB / 1.487 GB, free: 10.13 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.6338, allocations: 362.7 kB / 1.487 GB, free: 9.766 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.6343, allocations: 177.2 kB / 1.488 GB, free: 9.594 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.635, allocations: 443.2 kB / 1.488 GB, free: 9.07 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.636, allocations: 0.5168 MB / 1.488 GB, free: 8.496 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.636, allocations: 4 kB / 1.488 GB, free: 8.492 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00194/0.638, allocations: 0.6998 MB / 1.489 GB, free: 7.781 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.638, allocations: 8 kB / 1.489 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.638, allocations: 4 kB / 1.489 GB, free: 7.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.6385, allocations: 117.6 kB / 1.489 GB, free: 7.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.639, allocations: 116.2 kB / 1.489 GB, free: 7.535 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.6425, allocations: 3.199 MB / 1.492 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.643, allocations: 27.98 kB / 1.493 GB, free: 4.082 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.6431, allocations: 23.98 kB / 1.493 GB, free: 4.059 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.0002941/0.6434, allocations: 189.7 kB / 1.493 GB, free: 3.863 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.6436, allocations: 67.55 kB / 1.493 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.6452, allocations: 0.6487 MB / 1.493 GB, free: 3.121 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6452, allocations: 4 kB / 1.493 GB, free: 3.117 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6452, allocations: 0 / 1.493 GB, free: 3.117 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6452, allocations: 3.984 kB / 1.493 GB, free: 3.113 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.6476, allocations: 1.101 MB / 1.494 GB, free: 1.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6476, allocations: 4 kB / 1.495 GB, free: 1.906 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.648, allocations: 72.52 kB / 1.495 GB, free: 1.836 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002846/0.6483, allocations: 68.81 kB / 1.495 GB, free: 1.766 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.6483, allocations: 11.98 kB / 1.495 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.6503, allocations: 1.621 MB / 1.496 GB, free: 20 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.6503, allocations: 7.938 kB / 1.496 GB, free: 12 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.6519, allocations: 0.7288 MB / 1.497 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.652, allocations: 51.66 kB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6521, allocations: 12 kB / 1.497 GB, free: 15.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.6526, allocations: 24.05 kB / 1.497 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.6527, allocations: 39.83 kB / 1.497 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.6527, allocations: 15.98 kB / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005181/0.6532, allocations: 354.9 kB / 1.497 GB, free: 14.73 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6532, allocations: 0 / 1.497 GB, free: 14.73 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001765/0.655, allocations: 0.5695 MB / 1.498 GB, free: 14.16 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.004052/0.659, allocations: 1.721 MB / 1.5 GB, free: 12.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.6607, allocations: 0.6501 MB / 1.5 GB, free: 11.69 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.6607, allocations: 0 / 1.5 GB, free: 11.69 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.6613, allocations: 271.4 kB / 1.501 GB, free: 11.41 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.6631, allocations: 314.2 kB / 1.501 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.673, allocations: 5.345 MB / 1.506 GB, free: 5.453 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.6734, allocations: 262.8 kB / 1.506 GB, free: 5.168 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005266/0.6739, allocations: 117.3 kB / 1.506 GB, free: 5.062 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.6742, allocations: 195.4 kB / 1.507 GB, free: 4.871 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.6742, allocations: 0 / 1.507 GB, free: 4.871 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07575/0.75, allocations: 30.25 MB / 1.536 GB, free: 7.125 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.09, allocations: 0 / 1.536 GB, free: 7.125 MB / 1.232 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: 20.679791908245534]