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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001699/0.001699, allocations: 108.6 kB / 15.73 MB, free: 72 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.002014/0.002014, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.57/2.57, allocations: 469.4 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2831, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7464/1.03, allocations: 163.2 MB / 1.379 GB, free: 6.207 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01091/1.04, allocations: 8.121 MB / 1.387 GB, free: 15.89 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008064/1.041, allocations: 22.31 kB / 1.387 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/1.043, allocations: 353.3 kB / 1.387 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/1.045, allocations: 0.7443 MB / 1.388 GB, free: 15.01 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005973/1.051, allocations: 2.154 MB / 1.39 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002016/1.053, allocations: 1.374 MB / 1.392 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/1.054, allocations: 433 kB / 1.392 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/1.058, allocations: 1.463 MB / 1.393 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009788/1.059, allocations: 442.5 kB / 1.394 GB, free: 11.17 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/1.059, allocations: 55.12 kB / 1.394 GB, free: 11.17 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008228/1.067, allocations: 3.626 MB / 1.397 GB, free: 9.301 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/1.067, allocations: 154.9 kB / 1.398 GB, free: 9.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008106/1.068, allocations: 346.7 kB / 1.398 GB, free: 8.973 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00566/1.074, allocations: 2.563 MB / 1.4 GB, free: 7.293 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/1.074, allocations: 5.109 kB / 1.4 GB, free: 7.289 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.134e-06/1.074, allocations: 0 / 1.4 GB, free: 7.289 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.874e-05/1.074, allocations: 0 / 1.4 GB, free: 7.289 MB / 1.092 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.003125/1.077, allocations: 1.035 MB / 1.401 GB, free: 6.488 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.077, allocations: 17.55 kB / 1.401 GB, free: 6.48 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/1.077, allocations: 93.77 kB / 1.402 GB, free: 6.398 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.078, allocations: 143 kB / 1.402 GB, free: 6.328 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/1.079, allocations: 432.1 kB / 1.402 GB, free: 5.945 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/1.079, allocations: 43.31 kB / 1.402 GB, free: 5.922 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/1.08, allocations: 49 kB / 1.402 GB, free: 5.906 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.081, allocations: 0.6543 MB / 1.403 GB, free: 5.449 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.081, allocations: 9.203 kB / 1.403 GB, free: 5.441 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/1.081, allocations: 23.47 kB / 1.403 GB, free: 5.426 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/1.081, allocations: 15.84 kB / 1.403 GB, free: 5.426 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.082, allocations: 467.8 kB / 1.403 GB, free: 5.207 MB / 1.092 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.01658/1.099, allocations: 6.5 MB / 1.41 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/1.099, allocations: 161.9 kB / 1.41 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/1.099, allocations: 119.5 kB / 1.41 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.111, allocations: 3.856 MB / 1.414 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.111, allocations: 37.7 kB / 1.414 GB, free: 14.66 MB / 1.107 GB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/1.111, allocations: 0 / 1.414 GB, free: 14.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=40): time 0.08317/1.194, allocations: 30.61 MB / 1.444 GB, free: 28 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.195, allocations: 144.4 kB / 1.444 GB, free: 15.86 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/1.195, allocations: 465.8 kB / 1.444 GB, free: 15.4 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/1.195, allocations: 33.7 kB / 1.444 GB, free: 15.36 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/1.195, allocations: 312.2 kB / 1.445 GB, free: 15.05 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.196, allocations: 146.7 kB / 1.445 GB, free: 14.91 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.196, allocations: 106.1 kB / 1.445 GB, free: 14.79 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.196, allocations: 362.8 kB / 1.445 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/1.196, allocations: 181 kB / 1.445 GB, free: 14.25 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/1.197, allocations: 349.2 kB / 1.446 GB, free: 13.85 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/1.198, allocations: 0.5208 MB / 1.446 GB, free: 13.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.198, allocations: 4 kB / 1.446 GB, free: 13.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001736/1.199, allocations: 0.6974 MB / 1.447 GB, free: 12.55 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.2, allocations: 8.531 kB / 1.447 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.2, allocations: 8 kB / 1.447 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/1.2, allocations: 121.5 kB / 1.447 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/1.201, allocations: 107.9 kB / 1.447 GB, free: 12.31 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/1.203, allocations: 3.412 MB / 1.45 GB, free: 8.621 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/1.204, allocations: 27.98 kB / 1.45 GB, free: 8.594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/1.204, allocations: 24 kB / 1.45 GB, free: 8.57 MB / 1.139 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.0002796/1.205, allocations: 195.8 kB / 1.451 GB, free: 8.371 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/1.205, allocations: 63.61 kB / 1.451 GB, free: 8.309 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/1.206, allocations: 0.6566 MB / 1.451 GB, free: 7.621 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.206, allocations: 4 kB / 1.451 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.206, allocations: 0 / 1.451 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.206, allocations: 5.062 kB / 1.451 GB, free: 7.613 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/1.208, allocations: 1.201 MB / 1.452 GB, free: 6.305 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.208, allocations: 4.5 kB / 1.452 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/1.209, allocations: 67.89 kB / 1.453 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002613/1.209, allocations: 68.8 kB / 1.453 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/1.209, allocations: 12 kB / 1.453 GB, free: 6.152 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/1.211, allocations: 1.745 MB / 1.454 GB, free: 4.273 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.211, allocations: 4 kB / 1.454 GB, free: 4.27 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.212, allocations: 0.7246 MB / 1.455 GB, free: 3.477 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/1.212, allocations: 128.8 kB / 1.455 GB, free: 3.332 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.212, allocations: 12 kB / 1.455 GB, free: 3.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/1.213, allocations: 19.98 kB / 1.455 GB, free: 3.301 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/1.213, allocations: 39.91 kB / 1.455 GB, free: 3.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/1.213, allocations: 23.92 kB / 1.455 GB, free: 3.238 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004193/1.213, allocations: 354.8 kB / 1.456 GB, free: 2.891 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.213, allocations: 0 / 1.456 GB, free: 2.891 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002207/1.216, allocations: 0.5656 MB / 1.456 GB, free: 2.324 MB / 1.139 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.004987/1.221, allocations: 1.732 MB / 1.458 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001571/1.222, allocations: 0.6715 MB / 1.458 GB, free: 15.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.222, allocations: 0 / 1.458 GB, free: 15.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/1.223, allocations: 291.4 kB / 1.459 GB, free: 15.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.224, allocations: 316.8 kB / 1.459 GB, free: 15.23 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/1.234, allocations: 5.34 MB / 1.464 GB, free: 9.582 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/1.234, allocations: 0.8667 MB / 1.465 GB, free: 8.688 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004981/1.235, allocations: 115.3 kB / 1.465 GB, free: 8.582 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/1.235, allocations: 187.4 kB / 1.465 GB, free: 8.398 MB / 1.154 GB Notification: Performance of SimCode: time 8.02e-07/1.235, allocations: 0 / 1.465 GB, free: 8.398 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06152/1.297, allocations: 28.55 MB / 1.493 GB, free: 12.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.58, allocations: 6.984 kB / 1.493 GB, free: 12.25 MB / 1.186 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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