Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.005396/0.005396, allocations: 97.69 kB / 15.73 MB, free: 6 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.001545/0.001545, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2987, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6837/0.9825, allocations: 171.1 MB / 1.387 GB, free: 15.6 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006422/0.989, allocations: 4.305 MB / 1.391 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.9894, allocations: 27 kB / 1.391 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.9904, allocations: 350.3 kB / 1.392 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.993, allocations: 1.22 MB / 1.393 GB, free: 10.86 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.9948, allocations: 0.7961 MB / 1.394 GB, free: 10.26 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.9967, allocations: 1.694 MB / 1.395 GB, free: 9.293 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.9975, allocations: 0.557 MB / 1.396 GB, free: 8.953 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.9986, allocations: 0.6815 MB / 1.397 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.9997, allocations: 0.5466 MB / 1.397 GB, free: 8.242 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.9998, allocations: 64.94 kB / 1.397 GB, free: 8.242 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/1.001, allocations: 0.8111 MB / 1.398 GB, free: 7.809 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/1.002, allocations: 271.7 kB / 1.398 GB, free: 7.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000427/1.002, allocations: 400.7 kB / 1.399 GB, free: 7.383 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/1.004, allocations: 1.274 MB / 1.4 GB, free: 6.551 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.004, allocations: 0 / 1.4 GB, free: 6.551 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.172e-06/1.004, allocations: 0 / 1.4 GB, free: 6.551 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.004, allocations: 1.469 kB / 1.4 GB, free: 6.551 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001756/1.005, allocations: 1.052 MB / 1.401 GB, free: 5.711 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/1.005, allocations: 10.09 kB / 1.401 GB, free: 5.711 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/1.006, allocations: 99.16 kB / 1.401 GB, free: 5.625 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.007, allocations: 169.7 kB / 1.401 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/1.007, allocations: 0.5485 MB / 1.402 GB, free: 5.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/1.007, allocations: 39.16 kB / 1.402 GB, free: 5.074 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/1.008, allocations: 54.69 kB / 1.402 GB, free: 5.055 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.009, allocations: 0.6463 MB / 1.402 GB, free: 4.668 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/1.009, allocations: 1.312 kB / 1.402 GB, free: 4.668 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/1.009, allocations: 25.11 kB / 1.402 GB, free: 4.648 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/1.009, allocations: 30.41 kB / 1.402 GB, free: 4.637 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/1.01, allocations: 0.5054 MB / 1.403 GB, free: 4.395 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.003259/1.013, allocations: 2.306 MB / 1.405 GB, free: 2.488 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/1.014, allocations: 261.1 kB / 1.405 GB, free: 2.348 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/1.014, allocations: 132.2 kB / 1.406 GB, free: 2.281 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/1.014, allocations: 10.67 kB / 1.406 GB, free: 2.273 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.014, allocations: 37.31 kB / 1.406 GB, free: 2.23 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/1.014, allocations: 0 / 1.406 GB, free: 2.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.001666/1.016, allocations: 0.6766 MB / 1.406 GB, free: 1.758 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.016, allocations: 78.61 kB / 1.406 GB, free: 1.664 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/1.016, allocations: 0.5543 MB / 1.407 GB, free: 1.336 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/1.016, allocations: 36.14 kB / 1.407 GB, free: 1.297 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/1.017, allocations: 345.6 kB / 1.407 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/1.017, allocations: 69.08 kB / 1.407 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.017, allocations: 69.48 kB / 1.407 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.017, allocations: 363.1 kB / 1.408 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/1.017, allocations: 131.2 kB / 1.408 GB, free: 484 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/1.018, allocations: 222.2 kB / 1.408 GB, free: 308 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/1.018, allocations: 330.5 kB / 1.408 GB, free: 84 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.018, allocations: 5.125 kB / 1.408 GB, free: 80 kB / 1.092 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009392/1.019, allocations: 497.7 kB / 1.409 GB, free: 15.81 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.019, allocations: 6.75 kB / 1.409 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.019, allocations: 10.95 kB / 1.409 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/1.019, allocations: 92.91 kB / 1.409 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.02, allocations: 66.41 kB / 1.409 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/1.023, allocations: 3.347 MB / 1.412 GB, free: 12.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/1.023, allocations: 53.39 kB / 1.412 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/1.023, allocations: 14.09 kB / 1.412 GB, free: 12.48 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002678/1.024, allocations: 226.3 kB / 1.413 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/1.024, allocations: 54.64 kB / 1.413 GB, free: 12.27 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.294e-05/1.024, allocations: 53.94 kB / 1.413 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.024, allocations: 2.938 kB / 1.413 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.024, allocations: 3.938 kB / 1.413 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007417/1.025, allocations: 0.5365 MB / 1.413 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.026, allocations: 0.9135 MB / 1.414 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.026, allocations: 4.062 kB / 1.414 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.026, allocations: 43.53 kB / 1.414 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/1.026, allocations: 60.97 kB / 1.414 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/1.026, allocations: 8.281 kB / 1.414 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/1.028, allocations: 1.828 MB / 1.416 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.028, allocations: 6.312 kB / 1.416 GB, free: 9.297 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/1.029, allocations: 435.2 kB / 1.416 GB, free: 8.996 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/1.029, allocations: 176.6 kB / 1.417 GB, free: 8.836 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/1.029, allocations: 7.875 kB / 1.417 GB, free: 8.828 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/1.029, allocations: 28.8 kB / 1.417 GB, free: 8.812 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/1.03, allocations: 22.69 kB / 1.417 GB, free: 8.801 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/1.03, allocations: 11.16 kB / 1.417 GB, free: 8.797 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004243/1.03, allocations: 397.8 kB / 1.417 GB, free: 8.566 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.91e-07/1.03, allocations: 0 / 1.417 GB, free: 8.566 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005918/1.031, allocations: 204.7 kB / 1.417 GB, free: 8.535 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/1.032, allocations: 1.04 MB / 1.418 GB, free: 7.672 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000871/1.033, allocations: 0.534 MB / 1.419 GB, free: 7.289 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.033, allocations: 0 / 1.419 GB, free: 7.289 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/1.033, allocations: 252.7 kB / 1.419 GB, free: 7.105 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.035, allocations: 367.4 kB / 1.419 GB, free: 6.918 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/1.04, allocations: 4.47 MB / 1.424 GB, free: 3.723 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/1.041, allocations: 0.9131 MB / 1.425 GB, free: 2.781 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004002/1.041, allocations: 104.8 kB / 1.425 GB, free: 2.676 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.042, allocations: 191.4 kB / 1.425 GB, free: 2.488 MB / 1.107 GB Notification: Performance of SimCode: time 3.2e-07/1.042, allocations: 0 / 1.425 GB, free: 2.488 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04647/1.088, allocations: 17.81 MB / 1.442 GB, free: 1.059 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.13, allocations: 5.938 kB / 1.442 GB, free: 1.055 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches