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.0008288/0.0008288, 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.0007836/0.0007836, 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.858/0.858, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.682/1.682, allocations: 389 MB / 0.633 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.269e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.5591/0.5592, allocations: 144.2 MB / 1.14 GB, free: 9.887 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008794/0.568, allocations: 7.487 MB / 1.148 GB, free: 5.191 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005853/0.5685, allocations: 26.62 kB / 1.148 GB, free: 5.176 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.5694, allocations: 334.2 kB / 1.148 GB, free: 4.996 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.571, allocations: 0.7791 MB / 1.149 GB, free: 4.551 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005126/0.5762, allocations: 2.182 MB / 1.151 GB, free: 3.699 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5778, allocations: 1.394 MB / 1.152 GB, free: 3.02 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.5783, allocations: 360.8 kB / 1.153 GB, free: 2.863 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.5811, allocations: 1.685 MB / 1.154 GB, free: 2.09 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.5815, allocations: 404.2 kB / 1.155 GB, free: 1.957 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.5816, allocations: 50.75 kB / 1.155 GB, free: 1.957 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006107/0.5877, allocations: 3.51 MB / 1.158 GB, free: 1.207 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.5879, allocations: 162.6 kB / 1.158 GB, free: 1.109 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.5883, allocations: 248.2 kB / 1.159 GB, free: 1.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005066/0.5934, allocations: 3.135 MB / 1.162 GB, free: 120 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5934, allocations: 2 kB / 1.162 GB, free: 120 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5934, allocations: 0 / 1.162 GB, free: 120 kB / 1.01 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.5934, allocations: 0 / 1.162 GB, free: 120 kB / 1.01 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.002758/0.5961, allocations: 0.9625 MB / 1.163 GB, free: 15.48 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5962, allocations: 9.719 kB / 1.163 GB, free: 15.48 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.711e-05/0.5963, allocations: 94.66 kB / 1.163 GB, free: 15.41 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.5969, allocations: 139.4 kB / 1.163 GB, free: 15.37 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.5974, allocations: 367.1 kB / 1.163 GB, free: 15.11 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.5975, allocations: 38.09 kB / 1.163 GB, free: 15.09 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.5975, allocations: 54.03 kB / 1.163 GB, free: 15.07 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008653/0.5984, allocations: 0.9849 MB / 1.164 GB, free: 14.32 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5984, allocations: 5 kB / 1.164 GB, free: 14.31 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.5985, allocations: 23.97 kB / 1.164 GB, free: 14.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5985, allocations: 17 kB / 1.164 GB, free: 14.29 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.5991, allocations: 468.9 kB / 1.165 GB, free: 14.14 MB / 1.026 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.009057/0.6082, allocations: 5.608 MB / 1.17 GB, free: 12.07 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.6084, allocations: 150.9 kB / 1.17 GB, free: 12 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.6086, allocations: 115.3 kB / 1.17 GB, free: 11.96 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006293/0.6149, allocations: 3.267 MB / 1.174 GB, free: 11.6 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.6149, allocations: 37.11 kB / 1.174 GB, free: 11.55 MB / 1.026 GB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.6149, allocations: 1.625 kB / 1.174 GB, free: 11.55 MB / 1.026 GB Notification: Performance of matching and sorting (n=40): time 0.04346/0.6584, allocations: 30.55 MB / 1.204 GB, free: 10.97 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.6584, allocations: 140.5 kB / 1.204 GB, free: 10.8 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.6588, allocations: 457.8 kB / 1.204 GB, free: 10.34 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.6589, allocations: 37.7 kB / 1.204 GB, free: 10.3 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.659, allocations: 312.1 kB / 1.204 GB, free: 9.988 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.6591, allocations: 150.7 kB / 1.205 GB, free: 9.84 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6592, allocations: 110.3 kB / 1.205 GB, free: 9.727 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.6593, allocations: 362.7 kB / 1.205 GB, free: 9.363 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.6596, allocations: 185.2 kB / 1.205 GB, free: 9.184 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.6599, allocations: 428.1 kB / 1.206 GB, free: 8.676 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.6604, allocations: 0.5242 MB / 1.206 GB, free: 8.098 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6605, allocations: 3.938 kB / 1.206 GB, free: 8.094 MB / 1.042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009927/0.6614, allocations: 0.692 MB / 1.207 GB, free: 7.391 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6615, allocations: 8 kB / 1.207 GB, free: 7.383 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.6615, allocations: 7.984 kB / 1.207 GB, free: 7.375 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.6618, allocations: 122.7 kB / 1.207 GB, free: 7.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.662, allocations: 111.8 kB / 1.207 GB, free: 7.141 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.6642, allocations: 3.195 MB / 1.21 GB, free: 3.723 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.6646, allocations: 31.97 kB / 1.21 GB, free: 3.691 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.6646, allocations: 20 kB / 1.21 GB, free: 3.672 MB / 1.042 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.0002225/0.6648, allocations: 193.9 kB / 1.21 GB, free: 3.473 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.665, allocations: 55.67 kB / 1.21 GB, free: 3.418 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000842/0.6658, allocations: 0.6539 MB / 1.211 GB, free: 2.734 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6658, allocations: 0 / 1.211 GB, free: 2.734 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6658, allocations: 4.5 kB / 1.211 GB, free: 2.73 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6658, allocations: 3.938 kB / 1.211 GB, free: 2.727 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.6671, allocations: 1.099 MB / 1.212 GB, free: 1.527 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6671, allocations: 8.812 kB / 1.212 GB, free: 1.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.6673, allocations: 67.92 kB / 1.212 GB, free: 1.453 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.6674, allocations: 68.8 kB / 1.212 GB, free: 1.383 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.6674, allocations: 15.94 kB / 1.212 GB, free: 1.367 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.6684, allocations: 1.624 MB / 1.214 GB, free: 15.63 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6684, allocations: 12 kB / 1.214 GB, free: 15.62 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.6693, allocations: 0.7213 MB / 1.215 GB, free: 14.83 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.6693, allocations: 47.77 kB / 1.215 GB, free: 14.79 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.6694, allocations: 16 kB / 1.215 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.6696, allocations: 19.98 kB / 1.215 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.6696, allocations: 35.89 kB / 1.215 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.6697, allocations: 15.98 kB / 1.215 GB, free: 14.7 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002742/0.6699, allocations: 362.8 kB / 1.215 GB, free: 14.34 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6699, allocations: 0 / 1.215 GB, free: 14.34 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002334/0.6723, allocations: 0.5656 MB / 1.216 GB, free: 13.78 MB / 1.057 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.003571/0.6758, allocations: 1.765 MB / 1.217 GB, free: 11.94 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0009696/0.6768, allocations: 0.6462 MB / 1.218 GB, free: 11.27 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6768, allocations: 0 / 1.218 GB, free: 11.27 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.6771, allocations: 275.4 kB / 1.218 GB, free: 10.98 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.6781, allocations: 318.9 kB / 1.219 GB, free: 10.69 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.684, allocations: 5.283 MB / 1.224 GB, free: 5.098 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.6842, allocations: 258.8 kB / 1.224 GB, free: 4.816 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.6845, allocations: 119 kB / 1.224 GB, free: 4.703 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.6847, allocations: 188.4 kB / 1.224 GB, free: 4.52 MB / 1.057 GB Notification: Performance of SimCode: time 1.253e-06/0.6847, allocations: 0 / 1.224 GB, free: 4.52 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04347/0.7282, allocations: 30.36 MB / 1.254 GB, free: 6.664 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.455, allocations: 10.25 kB / 1.254 GB, free: 6.656 MB / 1.089 GB " [Timeout remaining time 291] (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/jenkins/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: 12.39659454766661]