Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 132 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.001044/0.001044, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.573, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04756/0.6206, allocations: 49.8 MB / 1.066 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.638, allocations: 12.67 MB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.6407, allocations: 87.5 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.6429, allocations: 0.7565 MB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.6483, allocations: 1.824 MB / 1.081 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.652, allocations: 1.348 MB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005211/0.6572, allocations: 3.245 MB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.6594, allocations: 1.256 MB / 1.087 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.6626, allocations: 1.288 MB / 1.088 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6642, allocations: 0.9291 MB / 1.089 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.6645, allocations: 96 kB / 1.089 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.6669, allocations: 1.064 MB / 1.09 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.6672, allocations: 286.8 kB / 1.09 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009564/0.6682, allocations: 0.6722 MB / 1.091 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.6708, allocations: 1.92 MB / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6708, allocations: 0 / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6709, allocations: 0 / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.6709, allocations: 11.88 kB / 1.093 GB, free: 4.949 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002318/0.6732, allocations: 1.701 MB / 1.094 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6733, allocations: 8.031 kB / 1.094 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.6734, allocations: 139.4 kB / 1.095 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.674, allocations: 211 kB / 1.095 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.6757, allocations: 1.018 MB / 1.096 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.6761, allocations: 122.1 kB / 1.096 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.6762, allocations: 88 kB / 1.096 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6778, allocations: 1.011 MB / 1.097 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6778, allocations: 3.984 kB / 1.097 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.6779, allocations: 39.98 kB / 1.097 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.6779, allocations: 23.94 kB / 1.097 GB, free: 408 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6795, allocations: 0.6633 MB / 1.098 GB, free: 15.73 MB / 0.8575 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.004842/0.6843, allocations: 4.759 MB / 1.102 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.6856, allocations: 420.6 kB / 1.103 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.6862, allocations: 224.7 kB / 1.103 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008174/0.687, allocations: 1.148 MB / 1.104 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.6871, allocations: 34.56 kB / 1.104 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.354e-06/0.6871, allocations: 4 kB / 1.104 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002965/0.6901, allocations: 1.09 MB / 1.105 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.6901, allocations: 59.34 kB / 1.105 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.6913, allocations: 0.9754 MB / 1.106 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.6913, allocations: 33.7 kB / 1.106 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.6917, allocations: 0.585 MB / 1.107 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.6918, allocations: 110.5 kB / 1.107 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.692, allocations: 106.1 kB / 1.107 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6921, allocations: 338 kB / 1.107 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.6927, allocations: 201 kB / 1.108 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.6934, allocations: 406.3 kB / 1.108 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.6947, allocations: 0.6177 MB / 1.109 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6947, allocations: 0 / 1.109 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00182/0.6965, allocations: 0.768 MB / 1.109 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6966, allocations: 9.719 kB / 1.109 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6966, allocations: 4 kB / 1.109 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.6973, allocations: 158.9 kB / 1.109 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.698, allocations: 151.8 kB / 1.11 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.699, allocations: 1.716 MB / 1.111 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.6997, allocations: 91.23 kB / 1.111 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.6998, allocations: 32.06 kB / 1.111 GB, free: 0.7969 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.7002, allocations: 273.6 kB / 1.112 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.7004, allocations: 110.6 kB / 1.112 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.7023, allocations: 0.7231 MB / 1.112 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.7023, allocations: 12.12 kB / 1.112 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7023, allocations: 3.938 kB / 1.112 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.7023, allocations: 3.984 kB / 1.112 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.7053, allocations: 1.644 MB / 1.114 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.7053, allocations: 4 kB / 1.114 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.7058, allocations: 96.02 kB / 1.114 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005659/0.7064, allocations: 146.4 kB / 1.114 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.7064, allocations: 15.98 kB / 1.114 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009446/0.7074, allocations: 1.712 MB / 1.116 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7074, allocations: 4.031 kB / 1.116 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.709, allocations: 0.7918 MB / 1.117 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.7094, allocations: 247.5 kB / 1.117 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7095, allocations: 8 kB / 1.117 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.7102, allocations: 47.94 kB / 1.117 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.7103, allocations: 35.84 kB / 1.117 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.7103, allocations: 19.98 kB / 1.117 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000801/0.7111, allocations: 0.658 MB / 1.118 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7111, allocations: 0 / 1.118 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009896/0.7121, allocations: 375.2 kB / 1.118 GB, free: 9.625 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002601/0.7147, allocations: 1.645 MB / 1.12 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7164, allocations: 0.5715 MB / 1.12 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7165, allocations: 0 / 1.12 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.7173, allocations: 300.9 kB / 1.121 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.7198, allocations: 0.5307 MB / 1.121 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.7312, allocations: 7.721 MB / 1.129 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.7319, allocations: 1.103 MB / 1.13 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007071/0.7326, allocations: 196.1 kB / 1.13 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.7331, allocations: 415.3 kB / 1.13 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of SimCode: time 4.1e-07/0.7331, allocations: 0 / 1.13 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.7896, allocations: 29.26 MB / 1.159 GB, free: 15.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.2, allocations: 19.34 kB / 1.159 GB, free: 15.78 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches