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.007056/0.007057, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001726/0.001726, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.494/2.494, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.11 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7579/1.017, allocations: 163.2 MB / 1.367 GB, free: 4.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01098/1.028, allocations: 8.132 MB / 1.375 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/1.028, allocations: 14.19 kB / 1.375 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/1.03, allocations: 358.6 kB / 1.375 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/1.032, allocations: 0.745 MB / 1.376 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006496/1.039, allocations: 2.151 MB / 1.378 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002082/1.041, allocations: 1.374 MB / 1.379 GB, free: 11.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/1.042, allocations: 432.9 kB / 1.38 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/1.046, allocations: 1.455 MB / 1.381 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009928/1.047, allocations: 438.4 kB / 1.381 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/1.047, allocations: 52.16 kB / 1.381 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008304/1.055, allocations: 3.632 MB / 1.385 GB, free: 8.328 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/1.055, allocations: 151.3 kB / 1.385 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000779/1.056, allocations: 346.2 kB / 1.385 GB, free: 8.004 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005479/1.062, allocations: 2.565 MB / 1.388 GB, free: 6.324 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.062, allocations: 0 / 1.388 GB, free: 6.324 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/1.062, allocations: 0 / 1.388 GB, free: 6.324 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.197e-05/1.062, allocations: 1.188 kB / 1.388 GB, free: 6.324 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.00298/1.065, allocations: 1.024 MB / 1.389 GB, free: 5.535 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.065, allocations: 10.22 kB / 1.389 GB, free: 5.535 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/1.065, allocations: 98.52 kB / 1.389 GB, free: 5.449 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.066, allocations: 134.7 kB / 1.389 GB, free: 5.387 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007978/1.067, allocations: 433.3 kB / 1.39 GB, free: 5.004 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/1.067, allocations: 37.94 kB / 1.39 GB, free: 4.984 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/1.067, allocations: 58.05 kB / 1.39 GB, free: 4.961 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.068, allocations: 0.6501 MB / 1.39 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.068, allocations: 0 / 1.39 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/1.068, allocations: 32.5 kB / 1.39 GB, free: 4.484 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/1.068, allocations: 17.22 kB / 1.39 GB, free: 4.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/1.069, allocations: 464.6 kB / 1.391 GB, free: 4.266 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.01511/1.084, allocations: 6.486 MB / 1.397 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/1.085, allocations: 165.5 kB / 1.397 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/1.085, allocations: 121 kB / 1.397 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/1.096, allocations: 3.851 MB / 1.401 GB, free: 13.77 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/1.096, allocations: 41.58 kB / 1.401 GB, free: 13.73 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/1.096, allocations: 0 / 1.401 GB, free: 13.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.0737/1.17, allocations: 30.61 MB / 1.431 GB, free: 1.367 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/1.17, allocations: 140.5 kB / 1.431 GB, free: 1.199 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/1.171, allocations: 461.7 kB / 1.432 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/1.171, allocations: 33.7 kB / 1.432 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/1.171, allocations: 303.5 kB / 1.432 GB, free: 408 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.171, allocations: 149.9 kB / 1.432 GB, free: 256 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.171, allocations: 98.16 kB / 1.432 GB, free: 152 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.171, allocations: 358.8 kB / 1.433 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/1.172, allocations: 185 kB / 1.433 GB, free: 15.61 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/1.172, allocations: 349.2 kB / 1.433 GB, free: 15.2 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008424/1.173, allocations: 0.5254 MB / 1.434 GB, free: 14.61 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.173, allocations: 0.6875 kB / 1.434 GB, free: 14.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001636/1.175, allocations: 0.6952 MB / 1.434 GB, free: 13.9 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.175, allocations: 8 kB / 1.434 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.175, allocations: 4 kB / 1.434 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/1.175, allocations: 124.7 kB / 1.434 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/1.176, allocations: 115.8 kB / 1.435 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/1.179, allocations: 3.407 MB / 1.438 GB, free: 9.973 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/1.179, allocations: 31.97 kB / 1.438 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/1.179, allocations: 24 kB / 1.438 GB, free: 9.918 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.000281/1.18, allocations: 191.7 kB / 1.438 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/1.18, allocations: 55.38 kB / 1.438 GB, free: 9.668 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.181, allocations: 0.658 MB / 1.439 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.181, allocations: 0 / 1.439 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.181, allocations: 4.875 kB / 1.439 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.181, allocations: 3.984 kB / 1.439 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.183, allocations: 1.195 MB / 1.44 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.183, allocations: 4 kB / 1.44 GB, free: 7.664 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/1.184, allocations: 64.39 kB / 1.44 GB, free: 7.602 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/1.184, allocations: 72.8 kB / 1.44 GB, free: 7.527 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/1.184, allocations: 13.12 kB / 1.44 GB, free: 7.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/1.186, allocations: 1.74 MB / 1.442 GB, free: 5.637 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.186, allocations: 15.88 kB / 1.442 GB, free: 5.621 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/1.187, allocations: 0.7271 MB / 1.443 GB, free: 4.828 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.187, allocations: 128.5 kB / 1.443 GB, free: 4.684 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/1.187, allocations: 15.98 kB / 1.443 GB, free: 4.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/1.188, allocations: 15.98 kB / 1.443 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/1.188, allocations: 39.97 kB / 1.443 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/1.188, allocations: 12 kB / 1.443 GB, free: 4.602 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004144/1.188, allocations: 362.8 kB / 1.443 GB, free: 4.246 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.5e-07/1.188, allocations: 0 / 1.443 GB, free: 4.246 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002278/1.191, allocations: 0.5623 MB / 1.444 GB, free: 3.684 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.004226/1.195, allocations: 1.718 MB / 1.445 GB, free: 1.895 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.196, allocations: 0.6852 MB / 1.446 GB, free: 1.184 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.196, allocations: 4 kB / 1.446 GB, free: 1.18 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005228/1.197, allocations: 279.4 kB / 1.446 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.198, allocations: 302.6 kB / 1.447 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008912/1.207, allocations: 5.328 MB / 1.452 GB, free: 10.97 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/1.208, allocations: 0.8667 MB / 1.453 GB, free: 10.08 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000502/1.208, allocations: 112.4 kB / 1.453 GB, free: 9.973 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.209, allocations: 191.3 kB / 1.453 GB, free: 9.785 MB / 1.139 GB Notification: Performance of SimCode: time 4.31e-07/1.209, allocations: 0 / 1.453 GB, free: 9.785 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06321/1.272, allocations: 28.56 MB / 1.481 GB, free: 13.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.84, allocations: 3.859 kB / 1.481 GB, free: 13.64 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