Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.89 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.587, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1637/0.7507, allocations: 163.2 MB / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.762, allocations: 8.131 MB / 1.185 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/0.7628, allocations: 11.94 kB / 1.185 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.7641, allocations: 353.8 kB / 1.185 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.7664, allocations: 0.7185 MB / 1.186 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005481/0.7719, allocations: 2.136 MB / 1.188 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.7737, allocations: 1.368 MB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.7745, allocations: 429.5 kB / 1.19 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.7781, allocations: 1.412 MB / 1.191 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009036/0.779, allocations: 446.2 kB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.7792, allocations: 52 kB / 1.192 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007289/0.7865, allocations: 3.523 MB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.7869, allocations: 163.4 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.7874, allocations: 342.5 kB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/0.7918, allocations: 2.58 MB / 1.198 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7918, allocations: 4 kB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7918, allocations: 0 / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.947e-05/0.7919, allocations: 0 / 1.198 GB, free: 8.938 MB / 0.9512 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.002403/0.7943, allocations: 1.025 MB / 1.199 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7943, allocations: 8.031 kB / 1.199 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.7945, allocations: 98.52 kB / 1.199 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.7957, allocations: 143.1 kB / 1.199 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.7963, allocations: 409.6 kB / 1.2 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.7964, allocations: 37.31 kB / 1.2 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.7965, allocations: 55.98 kB / 1.2 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.7977, allocations: 0.6526 MB / 1.2 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.7977, allocations: 4 kB / 1.2 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.7978, allocations: 31.98 kB / 1.2 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.7978, allocations: 15.94 kB / 1.2 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.7988, allocations: 467.6 kB / 1.201 GB, free: 5.871 MB / 0.9512 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.01625/0.8151, allocations: 6.467 MB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.8155, allocations: 168.3 kB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.8159, allocations: 125.2 kB / 1.207 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.8276, allocations: 3.814 MB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.8277, allocations: 38.8 kB / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.896e-06/0.8278, allocations: 7.938 kB / 1.211 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08562/0.9134, allocations: 30.36 MB / 1.241 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.9135, allocations: 140.4 kB / 1.241 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.914, allocations: 457.8 kB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.9141, allocations: 33.7 kB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.9143, allocations: 307.5 kB / 1.242 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.9144, allocations: 146 kB / 1.242 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.9145, allocations: 98.23 kB / 1.242 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9147, allocations: 358.8 kB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.9151, allocations: 181 kB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.9156, allocations: 353.2 kB / 1.243 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.9165, allocations: 0.5254 MB / 1.243 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9165, allocations: 0 / 1.243 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001651/0.9182, allocations: 0.6975 MB / 1.244 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9182, allocations: 8 kB / 1.244 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9182, allocations: 4 kB / 1.244 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.9187, allocations: 113.6 kB / 1.244 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.9191, allocations: 119.9 kB / 1.244 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.922, allocations: 3.417 MB / 1.248 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.9225, allocations: 23.98 kB / 1.248 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.9226, allocations: 31.98 kB / 1.248 GB, free: 4.984 MB / 0.9981 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.0002293/0.9228, allocations: 193.6 kB / 1.248 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.923, allocations: 59.28 kB / 1.248 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.9244, allocations: 0.6532 MB / 1.248 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.9244, allocations: 0 / 1.248 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.9244, allocations: 4 kB / 1.248 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9244, allocations: 3.984 kB / 1.248 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.9265, allocations: 1.209 MB / 1.25 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9265, allocations: 4.5 kB / 1.25 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.9268, allocations: 67.89 kB / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.9271, allocations: 64.81 kB / 1.25 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.9271, allocations: 12 kB / 1.25 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.9287, allocations: 1.732 MB / 1.252 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.9287, allocations: 7.938 kB / 1.252 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4377/1.366, allocations: 0.7212 MB / 1.252 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/1.367, allocations: 124.8 kB / 1.252 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.367, allocations: 12.38 kB / 1.252 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/1.367, allocations: 20.34 kB / 1.252 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.367, allocations: 36.45 kB / 1.252 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/1.367, allocations: 21.25 kB / 1.252 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005104/1.368, allocations: 357.7 kB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.368, allocations: 1.094 kB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001888/1.37, allocations: 0.5601 MB / 1.253 GB, free: 220.5 MB / 0.9981 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.003767/1.374, allocations: 1.735 MB / 1.255 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001562/1.375, allocations: 0.6737 MB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.375, allocations: 1.594 kB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/1.376, allocations: 281.9 kB / 1.256 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.378, allocations: 301 kB / 1.256 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008623/1.386, allocations: 5.469 MB / 1.262 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.387, allocations: 0.8688 MB / 1.262 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006365/1.387, allocations: 119.1 kB / 1.263 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/1.387, allocations: 187 kB / 1.263 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.387, allocations: 0 / 1.263 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/1.449, allocations: 28.52 MB / 1.291 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.84, allocations: 7.641 kB / 1.291 GB, free: 208.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches