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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00438/0.00438, allocations: 105.3 kB / 15.74 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.11 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2615, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7495/1.011, allocations: 163.2 MB / 1.367 GB, free: 4.254 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01118/1.022, allocations: 8.127 MB / 1.375 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008588/1.023, allocations: 14.28 kB / 1.375 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.025, allocations: 343.6 kB / 1.375 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/1.027, allocations: 0.7199 MB / 1.376 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006248/1.033, allocations: 2.136 MB / 1.378 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001874/1.035, allocations: 1.368 MB / 1.379 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/1.036, allocations: 437.6 kB / 1.379 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/1.04, allocations: 1.422 MB / 1.381 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009427/1.041, allocations: 435 kB / 1.381 GB, free: 10.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/1.041, allocations: 51.59 kB / 1.381 GB, free: 10.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008397/1.049, allocations: 3.622 MB / 1.385 GB, free: 8.289 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/1.049, allocations: 158.2 kB / 1.385 GB, free: 8.164 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007557/1.05, allocations: 343.2 kB / 1.385 GB, free: 7.961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005385/1.056, allocations: 2.572 MB / 1.388 GB, free: 6.273 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.056, allocations: 0 / 1.388 GB, free: 6.273 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.913e-06/1.056, allocations: 3.938 kB / 1.388 GB, free: 6.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.056, allocations: 4 kB / 1.388 GB, free: 6.266 MB / 1.076 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.003287/1.059, allocations: 1.017 MB / 1.389 GB, free: 5.484 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.059, allocations: 10.97 kB / 1.389 GB, free: 5.484 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/1.059, allocations: 92.86 kB / 1.389 GB, free: 5.402 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.06, allocations: 139.3 kB / 1.389 GB, free: 5.336 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/1.061, allocations: 429.4 kB / 1.389 GB, free: 4.957 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/1.061, allocations: 37.94 kB / 1.39 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.062, allocations: 58.28 kB / 1.39 GB, free: 4.914 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/1.063, allocations: 0.6571 MB / 1.39 GB, free: 4.453 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.063, allocations: 1.281 kB / 1.39 GB, free: 4.453 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/1.063, allocations: 23.22 kB / 1.39 GB, free: 4.438 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.063, allocations: 13.31 kB / 1.39 GB, free: 4.438 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/1.064, allocations: 472.2 kB / 1.391 GB, free: 4.215 MB / 1.076 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.01629/1.08, allocations: 6.484 MB / 1.397 GB, free: 15.9 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/1.081, allocations: 165.1 kB / 1.397 GB, free: 15.8 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/1.081, allocations: 121.1 kB / 1.397 GB, free: 15.74 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/1.093, allocations: 3.852 MB / 1.401 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.093, allocations: 33.7 kB / 1.401 GB, free: 13.68 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 2.465e-06/1.093, allocations: 0 / 1.401 GB, free: 13.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.08244/1.175, allocations: 30.62 MB / 1.431 GB, free: 1.32 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/1.175, allocations: 140.4 kB / 1.431 GB, free: 1.152 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/1.176, allocations: 461.7 kB / 1.432 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/1.176, allocations: 33.7 kB / 1.432 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/1.176, allocations: 307.5 kB / 1.432 GB, free: 356 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.176, allocations: 141.9 kB / 1.432 GB, free: 212 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.176, allocations: 102.1 kB / 1.432 GB, free: 104 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.177, allocations: 358.8 kB / 1.432 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/1.177, allocations: 185 kB / 1.433 GB, free: 15.56 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/1.177, allocations: 353.2 kB / 1.433 GB, free: 15.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/1.178, allocations: 0.5175 MB / 1.433 GB, free: 14.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.178, allocations: 4.688 kB / 1.433 GB, free: 14.56 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001589/1.18, allocations: 0.6989 MB / 1.434 GB, free: 13.85 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.18, allocations: 8 kB / 1.434 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.18, allocations: 4 kB / 1.434 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/1.18, allocations: 116.9 kB / 1.434 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/1.181, allocations: 120.1 kB / 1.434 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/1.184, allocations: 3.397 MB / 1.438 GB, free: 9.938 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/1.184, allocations: 27.98 kB / 1.438 GB, free: 9.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/1.184, allocations: 28.08 kB / 1.438 GB, free: 9.883 MB / 1.123 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.0002298/1.185, allocations: 197.6 kB / 1.438 GB, free: 9.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/1.185, allocations: 59.38 kB / 1.438 GB, free: 9.621 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.186, allocations: 0.6505 MB / 1.439 GB, free: 8.938 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.186, allocations: 4 kB / 1.439 GB, free: 8.934 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.186, allocations: 0 / 1.439 GB, free: 8.934 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.186, allocations: 3.984 kB / 1.439 GB, free: 8.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/1.188, allocations: 1.203 MB / 1.44 GB, free: 7.617 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.188, allocations: 7.625 kB / 1.44 GB, free: 7.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/1.188, allocations: 67.83 kB / 1.44 GB, free: 7.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/1.189, allocations: 72.84 kB / 1.44 GB, free: 7.473 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/1.189, allocations: 8 kB / 1.44 GB, free: 7.465 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/1.19, allocations: 1.74 MB / 1.442 GB, free: 5.586 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.19, allocations: 7.938 kB / 1.442 GB, free: 5.578 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.191, allocations: 0.7168 MB / 1.442 GB, free: 4.793 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.192, allocations: 124.6 kB / 1.443 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/1.192, allocations: 12 kB / 1.443 GB, free: 4.641 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/1.192, allocations: 28.03 kB / 1.443 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/1.192, allocations: 31.84 kB / 1.443 GB, free: 4.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/1.192, allocations: 20 kB / 1.443 GB, free: 4.562 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003815/1.193, allocations: 358.8 kB / 1.443 GB, free: 4.211 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.193, allocations: 4 kB / 1.443 GB, free: 4.207 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002264/1.195, allocations: 0.5584 MB / 1.444 GB, free: 3.648 MB / 1.123 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.003733/1.199, allocations: 1.736 MB / 1.445 GB, free: 1.844 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00138/1.2, allocations: 0.6774 MB / 1.446 GB, free: 1.141 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.2, allocations: 4 kB / 1.446 GB, free: 1.137 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/1.2, allocations: 274.4 kB / 1.446 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.202, allocations: 311.1 kB / 1.446 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/1.209, allocations: 5.333 MB / 1.452 GB, free: 10.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/1.21, allocations: 0.8628 MB / 1.452 GB, free: 10.04 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004023/1.21, allocations: 114.4 kB / 1.453 GB, free: 9.926 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.21, allocations: 191.4 kB / 1.453 GB, free: 9.738 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/1.21, allocations: 0 / 1.453 GB, free: 9.738 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/1.342, allocations: 28.55 MB / 1.481 GB, free: 13.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.69, allocations: 22.23 kB / 1.481 GB, free: 13.59 MB / 1.17 GB (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 --timeout=50 --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) 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) Reference file matches