Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_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.001375/0.001375, allocations: 108 kB / 15.61 MB, free: 152 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.001303/0.001303, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.841/2.841, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001875, allocations: 71.72 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.268, allocations: 159.1 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05613/0.3242, allocations: 49.78 MB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.3432, allocations: 12.68 MB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.345, allocations: 83.5 kB / 1.125 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.3468, allocations: 0.7526 MB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.351, allocations: 1.83 MB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.3541, allocations: 1.348 MB / 1.129 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.358, allocations: 3.245 MB / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.3597, allocations: 1.258 MB / 1.133 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.3626, allocations: 1.306 MB / 1.135 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.3638, allocations: 0.9291 MB / 1.136 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.364, allocations: 99.98 kB / 1.136 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.3663, allocations: 1.064 MB / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.3666, allocations: 290.8 kB / 1.137 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000747/0.3674, allocations: 0.6761 MB / 1.138 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.37, allocations: 1.92 MB / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3701, allocations: 0 / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3701, allocations: 0 / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.3701, allocations: 0 / 1.14 GB, free: 0.7461 MB / 0.8887 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.002701/0.3728, allocations: 1.693 MB / 1.141 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3728, allocations: 8.031 kB / 1.141 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.373, allocations: 135.4 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.3736, allocations: 207.1 kB / 1.142 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.3755, allocations: 1.026 MB / 1.143 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/0.3759, allocations: 133.9 kB / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.376, allocations: 84 kB / 1.143 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.3779, allocations: 1.003 MB / 1.144 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3779, allocations: 7.938 kB / 1.144 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.378, allocations: 36 kB / 1.144 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.378, allocations: 24 kB / 1.144 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.3796, allocations: 0.6555 MB / 1.144 GB, free: 11.54 MB / 0.9044 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.005563/0.3852, allocations: 4.775 MB / 1.149 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.3865, allocations: 398.6 kB / 1.149 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.3871, allocations: 221.5 kB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.3882, allocations: 1.144 MB / 1.151 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3882, allocations: 46.5 kB / 1.151 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.3882, allocations: 0 / 1.151 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.003162/0.3914, allocations: 1.097 MB / 1.152 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3915, allocations: 55.41 kB / 1.152 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3927, allocations: 0.9715 MB / 1.153 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3928, allocations: 29.7 kB / 1.153 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.3933, allocations: 0.5967 MB / 1.154 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.3934, allocations: 98.56 kB / 1.154 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3936, allocations: 114 kB / 1.154 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3937, allocations: 322 kB / 1.154 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.3943, allocations: 205 kB / 1.154 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007974/0.3951, allocations: 422.6 kB / 1.155 GB, free: 344 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.3965, allocations: 0.6018 MB / 1.155 GB, free: 15.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.3966, allocations: 4 kB / 1.155 GB, free: 15.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001814/0.3984, allocations: 0.7598 MB / 1.156 GB, free: 14.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3984, allocations: 8 kB / 1.156 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3984, allocations: 8.844 kB / 1.156 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000685/0.3991, allocations: 166.4 kB / 1.156 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.3998, allocations: 151.8 kB / 1.156 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.4011, allocations: 1.716 MB / 1.158 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.4018, allocations: 91.45 kB / 1.158 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.4018, allocations: 35.92 kB / 1.158 GB, free: 12.61 MB / 0.92 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.0003835/0.4022, allocations: 265.6 kB / 1.158 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.4024, allocations: 110.6 kB / 1.158 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.4044, allocations: 0.7408 MB / 1.159 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.4045, allocations: 11.88 kB / 1.159 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4045, allocations: 0 / 1.159 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4045, allocations: 3.984 kB / 1.159 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.4075, allocations: 1.652 MB / 1.161 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4075, allocations: 0 / 1.161 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.408, allocations: 83.91 kB / 1.161 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005957/0.4086, allocations: 158.5 kB / 1.161 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.4087, allocations: 8 kB / 1.161 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.4099, allocations: 1.708 MB / 1.163 GB, free: 7.68 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4099, allocations: 4.219 kB / 1.163 GB, free: 7.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.4117, allocations: 0.7877 MB / 1.163 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.412, allocations: 243.6 kB / 1.164 GB, free: 6.586 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4122, allocations: 8 kB / 1.164 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.4128, allocations: 51.94 kB / 1.164 GB, free: 6.527 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.4129, allocations: 27.91 kB / 1.164 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.4129, allocations: 27.97 kB / 1.164 GB, free: 6.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008809/0.4138, allocations: 0.6619 MB / 1.164 GB, free: 5.805 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4138, allocations: 0 / 1.164 GB, free: 5.805 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009956/0.4148, allocations: 379.1 kB / 1.165 GB, free: 5.434 MB / 0.92 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.002762/0.4176, allocations: 1.64 MB / 1.166 GB, free: 3.742 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.4193, allocations: 0.5715 MB / 1.167 GB, free: 3.172 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4193, allocations: 4 kB / 1.167 GB, free: 3.168 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008852/0.4202, allocations: 301.2 kB / 1.167 GB, free: 2.875 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.4225, allocations: 0.512 MB / 1.168 GB, free: 2.379 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.4343, allocations: 7.759 MB / 1.175 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.4352, allocations: 1.103 MB / 1.176 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000678/0.4359, allocations: 180.2 kB / 1.177 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.4364, allocations: 423.2 kB / 1.177 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.4364, allocations: 0 / 1.177 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0636/0.5, allocations: 29.27 MB / 1.206 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.41, allocations: 13.61 kB / 1.206 GB, free: 11.58 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches