Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_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.005528/0.005528, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001665/0.001665, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7958, allocations: 159.1 MB / 1.22 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1852/0.9811, allocations: 163.2 MB / 1.38 GB, free: 14.16 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.9923, allocations: 8.125 MB / 1.387 GB, free: 6.008 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.9931, allocations: 19.88 kB / 1.387 GB, free: 5.988 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.9943, allocations: 341.9 kB / 1.388 GB, free: 5.652 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.9964, allocations: 0.7306 MB / 1.389 GB, free: 4.918 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00543/1.002, allocations: 2.141 MB / 1.391 GB, free: 2.785 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00196/1.004, allocations: 1.364 MB / 1.392 GB, free: 1.414 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007375/1.005, allocations: 425.5 kB / 1.392 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/1.008, allocations: 1.424 MB / 1.394 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007855/1.009, allocations: 442.2 kB / 1.394 GB, free: 15.13 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/1.009, allocations: 52 kB / 1.394 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007029/1.016, allocations: 3.632 MB / 1.398 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/1.016, allocations: 155.5 kB / 1.398 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005458/1.017, allocations: 342.5 kB / 1.398 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004792/1.022, allocations: 2.564 MB / 1.401 GB, free: 8.383 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.022, allocations: 0 / 1.401 GB, free: 8.383 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.224e-06/1.022, allocations: 3.938 kB / 1.401 GB, free: 8.379 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.022, allocations: 0 / 1.401 GB, free: 8.379 MB / 1.123 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.002294/1.024, allocations: 1.043 MB / 1.402 GB, free: 7.285 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.024, allocations: 8.031 kB / 1.402 GB, free: 7.277 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/1.024, allocations: 94.52 kB / 1.402 GB, free: 7.176 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.025, allocations: 143.5 kB / 1.402 GB, free: 7.035 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/1.026, allocations: 429.8 kB / 1.402 GB, free: 6.578 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/1.026, allocations: 45.31 kB / 1.402 GB, free: 6.531 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/1.026, allocations: 51.98 kB / 1.402 GB, free: 6.48 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.027, allocations: 0.6497 MB / 1.403 GB, free: 5.781 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.028, allocations: 11.94 kB / 1.403 GB, free: 5.77 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/1.028, allocations: 24 kB / 1.403 GB, free: 5.746 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/1.028, allocations: 12 kB / 1.403 GB, free: 5.734 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/1.029, allocations: 463.6 kB / 1.404 GB, free: 5.281 MB / 1.123 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.01617/1.045, allocations: 6.511 MB / 1.41 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/1.045, allocations: 163.2 kB / 1.41 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/1.046, allocations: 121.3 kB / 1.41 GB, free: 14.2 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/1.057, allocations: 3.853 MB / 1.414 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.057, allocations: 38.8 kB / 1.414 GB, free: 10.15 MB / 1.139 GB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/1.057, allocations: 0 / 1.414 GB, free: 10.15 MB / 1.139 GB Notification: Performance of matching and sorting (n=40): time 0.0857/1.143, allocations: 30.61 MB / 1.444 GB, free: 11.5 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.143, allocations: 144.4 kB / 1.444 GB, free: 11.33 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/1.144, allocations: 457.8 kB / 1.445 GB, free: 10.89 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/1.144, allocations: 33.7 kB / 1.445 GB, free: 10.85 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/1.144, allocations: 308.2 kB / 1.445 GB, free: 10.54 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.144, allocations: 150.7 kB / 1.445 GB, free: 10.39 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.145, allocations: 106.1 kB / 1.445 GB, free: 10.28 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.145, allocations: 358.8 kB / 1.445 GB, free: 9.918 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/1.145, allocations: 185 kB / 1.446 GB, free: 9.738 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/1.146, allocations: 345.2 kB / 1.446 GB, free: 9.336 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/1.147, allocations: 0.5221 MB / 1.446 GB, free: 8.754 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.147, allocations: 0 / 1.446 GB, free: 8.754 MB / 1.17 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001796/1.149, allocations: 0.6975 MB / 1.447 GB, free: 8.047 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.149, allocations: 8 kB / 1.447 GB, free: 8.039 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.149, allocations: 4 kB / 1.447 GB, free: 8.035 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/1.149, allocations: 126.2 kB / 1.447 GB, free: 7.906 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/1.15, allocations: 115.8 kB / 1.447 GB, free: 7.793 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/1.153, allocations: 3.414 MB / 1.451 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/1.154, allocations: 31.97 kB / 1.451 GB, free: 4.066 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/1.154, allocations: 24 kB / 1.451 GB, free: 4.043 MB / 1.17 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.0003053/1.154, allocations: 190.2 kB / 1.451 GB, free: 3.848 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/1.154, allocations: 59.61 kB / 1.451 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/1.156, allocations: 0.657 MB / 1.452 GB, free: 3.105 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.156, allocations: 4.047 kB / 1.452 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.156, allocations: 3.984 kB / 1.452 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.156, allocations: 7.984 kB / 1.452 GB, free: 3.09 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/1.158, allocations: 1.198 MB / 1.453 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.158, allocations: 8 kB / 1.453 GB, free: 1.777 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/1.158, allocations: 68.39 kB / 1.453 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/1.159, allocations: 68.81 kB / 1.453 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.159, allocations: 12 kB / 1.453 GB, free: 1.629 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/1.161, allocations: 1.74 MB / 1.455 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.161, allocations: 8 kB / 1.455 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/1.162, allocations: 0.7207 MB / 1.455 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.162, allocations: 128.8 kB / 1.455 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/1.163, allocations: 11.98 kB / 1.456 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/1.163, allocations: 24.06 kB / 1.456 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/1.163, allocations: 47.89 kB / 1.456 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/1.163, allocations: 12 kB / 1.456 GB, free: 14.71 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004652/1.164, allocations: 358.8 kB / 1.456 GB, free: 14.36 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.9e-07/1.164, allocations: 0 / 1.456 GB, free: 14.36 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001655/1.165, allocations: 0.5656 MB / 1.456 GB, free: 13.79 MB / 1.186 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.003885/1.169, allocations: 1.732 MB / 1.458 GB, free: 11.99 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.171, allocations: 0.6816 MB / 1.459 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.171, allocations: 0 / 1.459 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005497/1.171, allocations: 283.4 kB / 1.459 GB, free: 11 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.173, allocations: 309.5 kB / 1.459 GB, free: 10.7 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008471/1.181, allocations: 5.351 MB / 1.465 GB, free: 5.035 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/1.182, allocations: 0.8628 MB / 1.465 GB, free: 4.145 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004483/1.182, allocations: 112.3 kB / 1.466 GB, free: 4.043 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/1.183, allocations: 187.4 kB / 1.466 GB, free: 3.859 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/1.183, allocations: 0 / 1.466 GB, free: 3.859 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06786/1.25, allocations: 28.55 MB / 1.494 GB, free: 7.73 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/14.17, allocations: 7.562 kB / 1.494 GB, free: 7.727 MB / 1.217 GB (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches