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.001726/0.001726, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00233/0.00233, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.063/3.063, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",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.00201/0.00201, allocations: 66.94 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 179 MB / 1.345 GB, free: 20 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1675/0.4747, allocations: 144.2 MB / 1.486 GB, free: 15.26 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.486, allocations: 7.482 MB / 1.493 GB, free: 7.75 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.4867, allocations: 27.81 kB / 1.493 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4878, allocations: 329.9 kB / 1.494 GB, free: 7.398 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.4902, allocations: 0.7558 MB / 1.494 GB, free: 6.641 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.4957, allocations: 2.153 MB / 1.497 GB, free: 4.492 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.4976, allocations: 1.391 MB / 1.498 GB, free: 3.094 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.4983, allocations: 358.1 kB / 1.498 GB, free: 2.742 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.5018, allocations: 1.486 MB / 1.5 GB, free: 1.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008935/0.5027, allocations: 474 kB / 1.5 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.5028, allocations: 52 kB / 1.5 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007304/0.5101, allocations: 3.593 MB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.5105, allocations: 155.4 kB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.5111, allocations: 290.8 kB / 1.504 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004649/0.5157, allocations: 2.575 MB / 1.507 GB, free: 10.12 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.5157, allocations: 4 kB / 1.507 GB, free: 10.11 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5157, allocations: 0 / 1.507 GB, free: 10.11 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.5158, allocations: 0 / 1.507 GB, free: 10.11 MB / 1.201 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.002339/0.5181, allocations: 0.9678 MB / 1.508 GB, free: 9.113 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5182, allocations: 11.97 kB / 1.508 GB, free: 9.102 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.664e-05/0.5182, allocations: 21.31 kB / 1.508 GB, free: 9.078 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.5183, allocations: 90.52 kB / 1.508 GB, free: 8.98 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.5195, allocations: 143.5 kB / 1.508 GB, free: 8.84 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.5203, allocations: 371.3 kB / 1.508 GB, free: 8.453 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.5203, allocations: 37.31 kB / 1.508 GB, free: 8.418 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/0.5204, allocations: 59.94 kB / 1.508 GB, free: 8.359 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5218, allocations: 0.9867 MB / 1.509 GB, free: 7.242 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5218, allocations: 0 / 1.509 GB, free: 7.242 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.5219, allocations: 24 kB / 1.509 GB, free: 7.219 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5219, allocations: 12 kB / 1.509 GB, free: 7.207 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.5229, allocations: 475.5 kB / 1.51 GB, free: 6.742 MB / 1.201 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.01568/0.5386, allocations: 5.61 MB / 1.515 GB, free: 1.035 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.5391, allocations: 155.1 kB / 1.515 GB, free: 0.875 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.5394, allocations: 113.3 kB / 1.516 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.5507, allocations: 3.27 MB / 1.519 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.5507, allocations: 38.8 kB / 1.519 GB, free: 13.44 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 2.575e-06/0.5507, allocations: 0 / 1.519 GB, free: 13.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.08383/0.6346, allocations: 30.55 MB / 1.549 GB, free: 14.88 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/0.6347, allocations: 140.4 kB / 1.549 GB, free: 14.71 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.6353, allocations: 457.8 kB / 1.549 GB, free: 14.26 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.6353, allocations: 33.7 kB / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6355, allocations: 316.1 kB / 1.55 GB, free: 13.91 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.6357, allocations: 146.7 kB / 1.55 GB, free: 13.76 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.6358, allocations: 106.3 kB / 1.55 GB, free: 13.65 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.636, allocations: 358.8 kB / 1.55 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.6364, allocations: 181.2 kB / 1.55 GB, free: 13.12 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.6371, allocations: 435.2 kB / 1.551 GB, free: 12.6 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.638, allocations: 0.5177 MB / 1.551 GB, free: 12.02 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.638, allocations: 0 / 1.551 GB, free: 12.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001791/0.6398, allocations: 0.6963 MB / 1.552 GB, free: 11.32 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6398, allocations: 8 kB / 1.552 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6398, allocations: 4 kB / 1.552 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.6404, allocations: 126.2 kB / 1.552 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.6408, allocations: 111.8 kB / 1.552 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.6441, allocations: 3.187 MB / 1.555 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.6446, allocations: 31.92 kB / 1.555 GB, free: 7.625 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.6447, allocations: 31.92 kB / 1.555 GB, free: 7.594 MB / 1.248 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.0002891/0.645, allocations: 193.8 kB / 1.555 GB, free: 7.395 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.6453, allocations: 59.67 kB / 1.556 GB, free: 7.336 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.6467, allocations: 0.6444 MB / 1.556 GB, free: 6.664 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6468, allocations: 7.984 kB / 1.556 GB, free: 6.656 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6468, allocations: 3.938 kB / 1.556 GB, free: 6.652 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.6468, allocations: 3.984 kB / 1.556 GB, free: 6.648 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.649, allocations: 1.107 MB / 1.557 GB, free: 5.441 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.649, allocations: 4.125 kB / 1.557 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.6494, allocations: 71.89 kB / 1.557 GB, free: 5.367 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.6497, allocations: 64.81 kB / 1.557 GB, free: 5.301 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.6497, allocations: 8 kB / 1.557 GB, free: 5.293 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.6515, allocations: 1.63 MB / 1.559 GB, free: 3.547 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6515, allocations: 7.938 kB / 1.559 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.6531, allocations: 0.7213 MB / 1.56 GB, free: 2.75 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6532, allocations: 51.8 kB / 1.56 GB, free: 2.699 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6533, allocations: 16 kB / 1.56 GB, free: 2.684 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.6538, allocations: 23.97 kB / 1.56 GB, free: 2.66 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.6539, allocations: 35.83 kB / 1.56 GB, free: 2.625 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.6539, allocations: 19.98 kB / 1.56 GB, free: 2.605 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004583/0.6543, allocations: 354.9 kB / 1.56 GB, free: 2.258 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6543, allocations: 0 / 1.56 GB, free: 2.258 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001669/0.656, allocations: 0.5695 MB / 1.561 GB, free: 1.688 MB / 1.248 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.003896/0.6599, allocations: 1.724 MB / 1.562 GB, free: 15.88 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.6615, allocations: 0.66 MB / 1.563 GB, free: 15.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.6615, allocations: 0 / 1.563 GB, free: 15.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.6621, allocations: 279.8 kB / 1.563 GB, free: 14.91 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.6637, allocations: 303.3 kB / 1.564 GB, free: 14.62 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/0.6728, allocations: 5.353 MB / 1.569 GB, free: 8.961 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.673, allocations: 266.8 kB / 1.569 GB, free: 8.672 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.6735, allocations: 107.5 kB / 1.569 GB, free: 8.57 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.6738, allocations: 191.4 kB / 1.569 GB, free: 8.387 MB / 1.264 GB Notification: Performance of SimCode: time 1.002e-06/0.6738, allocations: 4 kB / 1.569 GB, free: 8.383 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06613/0.7399, allocations: 29.9 MB / 1.599 GB, free: 10.97 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.67, allocations: 18.47 kB / 1.599 GB, free: 10.96 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.814800803898834]