Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00136/0.00136, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001527/0.001527, allocations: 210.8 kB / 22.24 MB, free: 5.242 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_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.002022/0.002022, allocations: 66.86 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1709/0.4695, allocations: 144.3 MB / 1.466 GB, free: 1.523 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.481, allocations: 7.499 MB / 1.473 GB, free: 9.996 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.4817, allocations: 19.88 kB / 1.473 GB, free: 9.977 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.4827, allocations: 325.9 kB / 1.474 GB, free: 9.656 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.4849, allocations: 0.7658 MB / 1.474 GB, free: 8.887 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005236/0.4902, allocations: 2.143 MB / 1.476 GB, free: 6.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.492, allocations: 1.376 MB / 1.478 GB, free: 5.371 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.4927, allocations: 373.9 kB / 1.478 GB, free: 5 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.4961, allocations: 1.494 MB / 1.48 GB, free: 3.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007704/0.4969, allocations: 426.2 kB / 1.48 GB, free: 3.082 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.497, allocations: 52 kB / 1.48 GB, free: 3.031 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.5038, allocations: 3.503 MB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.504, allocations: 167.4 kB / 1.484 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.5045, allocations: 290.8 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.5093, allocations: 2.575 MB / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5093, allocations: 0 / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5093, allocations: 0 / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.5093, allocations: 0 / 1.486 GB, free: 12.49 MB / 1.186 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.002256/0.5115, allocations: 0.964 MB / 1.487 GB, free: 11.5 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5116, allocations: 12.03 kB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.5117, allocations: 94.52 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5128, allocations: 139.5 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007915/0.5136, allocations: 379.2 kB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.5136, allocations: 37.31 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.5137, allocations: 55.89 kB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5151, allocations: 0.9866 MB / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.5151, allocations: 4 kB / 1.489 GB, free: 9.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.5152, allocations: 28 kB / 1.489 GB, free: 9.602 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5152, allocations: 12 kB / 1.489 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.5162, allocations: 471.5 kB / 1.49 GB, free: 9.129 MB / 1.186 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.01599/0.5322, allocations: 5.606 MB / 1.495 GB, free: 3.43 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.5327, allocations: 151.1 kB / 1.495 GB, free: 3.273 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.533, allocations: 113.3 kB / 1.495 GB, free: 3.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.5449, allocations: 3.266 MB / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.5449, allocations: 42.78 kB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.455e-06/0.5449, allocations: 0 / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.08913/0.6341, allocations: 30.54 MB / 1.528 GB, free: 1.281 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.6342, allocations: 148.3 kB / 1.528 GB, free: 1.105 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.6348, allocations: 473.7 kB / 1.529 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.6349, allocations: 29.7 kB / 1.529 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.6351, allocations: 320.1 kB / 1.529 GB, free: 296 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.6352, allocations: 146.7 kB / 1.529 GB, free: 148 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.6354, allocations: 102.3 kB / 1.53 GB, free: 40 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6356, allocations: 358.9 kB / 1.53 GB, free: 15.68 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.636, allocations: 185.2 kB / 1.53 GB, free: 15.49 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.6367, allocations: 427.3 kB / 1.53 GB, free: 14.99 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/0.6377, allocations: 0.5244 MB / 1.531 GB, free: 14.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6377, allocations: 4 kB / 1.531 GB, free: 14.4 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001838/0.6395, allocations: 0.694 MB / 1.532 GB, free: 13.7 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6395, allocations: 4 kB / 1.532 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6395, allocations: 8 kB / 1.532 GB, free: 13.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.64, allocations: 121.5 kB / 1.532 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.6405, allocations: 107.9 kB / 1.532 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.6439, allocations: 3.195 MB / 1.535 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.6445, allocations: 23.98 kB / 1.535 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.6445, allocations: 24 kB / 1.535 GB, free: 9.98 MB / 1.232 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.0002881/0.6448, allocations: 195.1 kB / 1.535 GB, free: 9.781 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.645, allocations: 63.59 kB / 1.535 GB, free: 9.719 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.6466, allocations: 0.6457 MB / 1.536 GB, free: 9.043 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6466, allocations: 4 kB / 1.536 GB, free: 9.039 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6466, allocations: 0 / 1.536 GB, free: 9.039 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6466, allocations: 8 kB / 1.536 GB, free: 9.031 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.6489, allocations: 1.107 MB / 1.537 GB, free: 7.828 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6489, allocations: 4 kB / 1.537 GB, free: 7.824 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.6493, allocations: 63.89 kB / 1.537 GB, free: 7.762 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.6495, allocations: 69.31 kB / 1.537 GB, free: 7.691 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.6496, allocations: 20 kB / 1.537 GB, free: 7.672 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.6514, allocations: 1.637 MB / 1.539 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6514, allocations: 4 kB / 1.539 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.653, allocations: 0.7207 MB / 1.539 GB, free: 5.129 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.6531, allocations: 51.66 kB / 1.54 GB, free: 5.078 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.6532, allocations: 11.98 kB / 1.54 GB, free: 5.066 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.6536, allocations: 27.92 kB / 1.54 GB, free: 5.039 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.6537, allocations: 39.83 kB / 1.54 GB, free: 5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.6537, allocations: 20.06 kB / 1.54 GB, free: 4.98 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005024/0.6542, allocations: 358.8 kB / 1.54 GB, free: 4.629 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6542, allocations: 0 / 1.54 GB, free: 4.629 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001715/0.6559, allocations: 0.5656 MB / 1.54 GB, free: 4.062 MB / 1.232 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.003812/0.6597, allocations: 1.718 MB / 1.542 GB, free: 2.266 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.6613, allocations: 0.6442 MB / 1.543 GB, free: 1.598 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6613, allocations: 8 kB / 1.543 GB, free: 1.59 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.6619, allocations: 286.3 kB / 1.543 GB, free: 1.297 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6635, allocations: 303.8 kB / 1.543 GB, free: 1.004 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009178/0.6727, allocations: 5.346 MB / 1.549 GB, free: 11.35 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.673, allocations: 266.8 kB / 1.549 GB, free: 11.06 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004933/0.6735, allocations: 116.8 kB / 1.549 GB, free: 10.95 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.6738, allocations: 191.4 kB / 1.549 GB, free: 10.77 MB / 1.248 GB Notification: Performance of SimCode: time 7.81e-07/0.6738, allocations: 0 / 1.549 GB, free: 10.77 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07097/0.7448, allocations: 30.24 MB / 1.579 GB, free: 13.01 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.27, allocations: 7.938 kB / 1.579 GB, free: 13.01 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.801771391183138]