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.001002/0.001002, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000931/0.000931, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8378/0.8378, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.596/1.596, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.754e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.5035/0.5035, allocations: 144.2 MB / 1.091 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006063/0.5096, allocations: 7.496 MB / 1.099 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.51, allocations: 24.94 kB / 1.099 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.5108, allocations: 330.8 kB / 1.099 GB, free: 37.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.5125, allocations: 0.7802 MB / 1.1 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.5169, allocations: 2.183 MB / 1.102 GB, free: 36.85 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.5187, allocations: 1.387 MB / 1.103 GB, free: 36.22 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.5194, allocations: 369.5 kB / 1.104 GB, free: 36.08 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.5224, allocations: 1.685 MB / 1.105 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006238/0.523, allocations: 401.8 kB / 1.106 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.5231, allocations: 50.75 kB / 1.106 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/0.5294, allocations: 3.512 MB / 1.109 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.5297, allocations: 159.7 kB / 1.109 GB, free: 34.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.5302, allocations: 254 kB / 1.109 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.5364, allocations: 3.133 MB / 1.113 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5364, allocations: 4.531 kB / 1.113 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5364, allocations: 0 / 1.113 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.5364, allocations: 0 / 1.113 GB, free: 33.66 MB / 0.9948 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.002549/0.539, allocations: 0.9549 MB / 1.113 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.539, allocations: 10.25 kB / 1.113 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.241e-05/0.5391, allocations: 98.11 kB / 1.114 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.5397, allocations: 146.7 kB / 1.114 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.5403, allocations: 363.5 kB / 1.114 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5403, allocations: 42.05 kB / 1.114 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.5404, allocations: 58.2 kB / 1.114 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.5412, allocations: 0.9841 MB / 1.115 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5412, allocations: 1.719 kB / 1.115 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.5413, allocations: 23.47 kB / 1.115 GB, free: 31.85 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.5413, allocations: 16.53 kB / 1.115 GB, free: 31.85 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.5419, allocations: 474.5 kB / 1.116 GB, free: 31.69 MB / 0.9948 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.009022/0.551, allocations: 5.589 MB / 1.121 GB, free: 29.65 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.5512, allocations: 156.1 kB / 1.121 GB, free: 29.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.5514, allocations: 112.6 kB / 1.121 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006885/0.5583, allocations: 3.276 MB / 1.125 GB, free: 29.18 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5583, allocations: 43.52 kB / 1.125 GB, free: 29.13 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/0.5583, allocations: 0 / 1.125 GB, free: 29.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40): time 0.04549/0.6038, allocations: 30.54 MB / 1.154 GB, free: 25.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.6039, allocations: 147.5 kB / 1.155 GB, free: 25.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.6043, allocations: 462.3 kB / 1.155 GB, free: 25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.6043, allocations: 40.55 kB / 1.155 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.6045, allocations: 314.3 kB / 1.155 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.6045, allocations: 153.3 kB / 1.155 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.6046, allocations: 102.5 kB / 1.156 GB, free: 24.48 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.6047, allocations: 368.1 kB / 1.156 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.6049, allocations: 179.4 kB / 1.156 GB, free: 24.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.6052, allocations: 425.6 kB / 1.156 GB, free: 23.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.6057, allocations: 0.5258 MB / 1.157 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6057, allocations: 2.719 kB / 1.157 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009524/0.6067, allocations: 0.6903 MB / 1.158 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6067, allocations: 8 kB / 1.158 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6067, allocations: 9.438 kB / 1.158 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.607, allocations: 122 kB / 1.158 GB, free: 22.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.6072, allocations: 109.7 kB / 1.158 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.6088, allocations: 3.186 MB / 1.161 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.6092, allocations: 29.64 kB / 1.161 GB, free: 19.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.6092, allocations: 26.2 kB / 1.161 GB, free: 19.67 MB / 0.9948 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.0001668/0.6093, allocations: 193.7 kB / 1.161 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6095, allocations: 56.86 kB / 1.161 GB, free: 19.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.6102, allocations: 0.6411 MB / 1.162 GB, free: 19.04 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6102, allocations: 5.25 kB / 1.162 GB, free: 19.04 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6102, allocations: 0 / 1.162 GB, free: 19.04 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6102, allocations: 7.922 kB / 1.162 GB, free: 19.03 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.6114, allocations: 1.102 MB / 1.163 GB, free: 18.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6114, allocations: 8 kB / 1.163 GB, free: 18.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.6116, allocations: 66.67 kB / 1.163 GB, free: 18.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.6117, allocations: 63.62 kB / 1.163 GB, free: 18.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.6118, allocations: 12.53 kB / 1.163 GB, free: 18.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007907/0.6126, allocations: 1.634 MB / 1.165 GB, free: 16.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6126, allocations: 5.188 kB / 1.165 GB, free: 16.56 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.6133, allocations: 0.7236 MB / 1.165 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.6134, allocations: 51.84 kB / 1.166 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.6134, allocations: 15.25 kB / 1.166 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.6136, allocations: 19.27 kB / 1.166 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.6137, allocations: 38.98 kB / 1.166 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.6137, allocations: 21.14 kB / 1.166 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002389/0.6139, allocations: 353.7 kB / 1.166 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6139, allocations: 6.344 kB / 1.166 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002528/0.6165, allocations: 0.564 MB / 1.167 GB, free: 15.65 MB / 0.9948 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.002731/0.6192, allocations: 1.762 MB / 1.168 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008641/0.62, allocations: 0.6376 MB / 1.169 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6201, allocations: 3.781 kB / 1.169 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.6203, allocations: 285.3 kB / 1.169 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.6212, allocations: 313.7 kB / 1.169 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.6263, allocations: 5.293 MB / 1.175 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.6265, allocations: 263.8 kB / 1.175 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003739/0.6269, allocations: 110.2 kB / 1.175 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.627, allocations: 186.8 kB / 1.175 GB, free: 9.609 MB / 0.9948 GB Notification: Performance of SimCode: time 1.463e-06/0.627, allocations: 11.88 kB / 1.175 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.6759, allocations: 30.37 MB / 1.205 GB, free: 14.85 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/9.094, allocations: 6.047 kB / 1.205 GB, free: 14.85 MB / 1.026 GB " [Timeout remaining time 291] (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/jenkins/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: 12.889990295283496]