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.001628/0.001628, 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.001796/0.001796, allocations: 196.6 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.602/2.602, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 72.48 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04859/0.3, allocations: 49.78 MB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.3174, allocations: 12.68 MB / 1.125 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.3194, allocations: 75.56 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.3211, allocations: 0.7682 MB / 1.126 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.3251, allocations: 1.827 MB / 1.128 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.3281, allocations: 1.347 MB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003615/0.3317, allocations: 3.246 MB / 1.132 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3332, allocations: 1.27 MB / 1.133 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.3358, allocations: 1.28 MB / 1.135 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3368, allocations: 0.9253 MB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.337, allocations: 96 kB / 1.136 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.339, allocations: 1.068 MB / 1.137 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.3393, allocations: 294.8 kB / 1.137 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.3399, allocations: 0.6721 MB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.3422, allocations: 1.92 MB / 1.14 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3422, allocations: 0 / 1.14 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3422, allocations: 0 / 1.14 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.3422, allocations: 0 / 1.14 GB, free: 0.7227 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.002334/0.3445, allocations: 1.697 MB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3446, allocations: 8.031 kB / 1.141 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.3447, allocations: 139.4 kB / 1.141 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.3453, allocations: 207.1 kB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.3469, allocations: 1.03 MB / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.3473, allocations: 122.1 kB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3474, allocations: 80 kB / 1.143 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.349, allocations: 1.015 MB / 1.144 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.349, allocations: 7.969 kB / 1.144 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.3491, allocations: 36 kB / 1.144 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3491, allocations: 24 kB / 1.144 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.3505, allocations: 0.6594 MB / 1.144 GB, free: 11.51 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.005062/0.3556, allocations: 4.755 MB / 1.149 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.3569, allocations: 422.6 kB / 1.149 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.3575, allocations: 221.5 kB / 1.15 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.3589, allocations: 1.148 MB / 1.151 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.3589, allocations: 34.56 kB / 1.151 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 3.928e-06/0.3589, allocations: 0 / 1.151 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.00327/0.3622, allocations: 1.093 MB / 1.152 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3623, allocations: 55.41 kB / 1.152 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3638, allocations: 0.9793 MB / 1.153 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.3638, allocations: 33.7 kB / 1.153 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005648/0.3644, allocations: 0.585 MB / 1.153 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.3646, allocations: 106.5 kB / 1.154 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.3648, allocations: 106.1 kB / 1.154 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.365, allocations: 330 kB / 1.154 GB, free: 1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.3656, allocations: 204.9 kB / 1.154 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.3664, allocations: 414.6 kB / 1.155 GB, free: 316 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3677, allocations: 0.6096 MB / 1.155 GB, free: 15.61 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3677, allocations: 4 kB / 1.155 GB, free: 15.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001717/0.3695, allocations: 0.7603 MB / 1.156 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3695, allocations: 8 kB / 1.156 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3695, allocations: 8 kB / 1.156 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.3702, allocations: 162.7 kB / 1.156 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.3708, allocations: 147.8 kB / 1.156 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.3719, allocations: 1.727 MB / 1.158 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.3726, allocations: 87.33 kB / 1.158 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.3726, allocations: 24 kB / 1.158 GB, free: 12.59 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.0004003/0.3731, allocations: 273.7 kB / 1.158 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3732, allocations: 114.6 kB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.3751, allocations: 0.7373 MB / 1.159 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.3751, allocations: 7.938 kB / 1.159 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3751, allocations: 4.188 kB / 1.159 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3751, allocations: 3.984 kB / 1.159 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.3779, allocations: 1.648 MB / 1.161 GB, free: 9.691 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3779, allocations: 0 / 1.161 GB, free: 9.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.3784, allocations: 96.02 kB / 1.161 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.3789, allocations: 150.4 kB / 1.161 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.379, allocations: 11.98 kB / 1.161 GB, free: 9.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.3801, allocations: 1.708 MB / 1.163 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3801, allocations: 0 / 1.163 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.3817, allocations: 0.7878 MB / 1.163 GB, free: 6.812 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.3821, allocations: 247.6 kB / 1.164 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3822, allocations: 8 kB / 1.164 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/0.3827, allocations: 47.94 kB / 1.164 GB, free: 6.496 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.3828, allocations: 31.84 kB / 1.164 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.3829, allocations: 23.98 kB / 1.164 GB, free: 6.441 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008211/0.3837, allocations: 0.6619 MB / 1.164 GB, free: 5.773 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3837, allocations: 0 / 1.164 GB, free: 5.773 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009725/0.3847, allocations: 379.1 kB / 1.165 GB, free: 5.402 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.00262/0.3873, allocations: 1.647 MB / 1.166 GB, free: 3.707 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.389, allocations: 0.5793 MB / 1.167 GB, free: 3.129 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.389, allocations: 0 / 1.167 GB, free: 3.129 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.3898, allocations: 297.2 kB / 1.167 GB, free: 2.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.3921, allocations: 0.5256 MB / 1.168 GB, free: 2.332 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.4032, allocations: 7.729 MB / 1.175 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.404, allocations: 1.111 MB / 1.176 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007102/0.4047, allocations: 192.1 kB / 1.177 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.4052, allocations: 415.2 kB / 1.177 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/0.4052, allocations: 0 / 1.177 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.624/3.029, allocations: 29.27 MB / 1.206 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.55/23.58, allocations: 8.297 kB / 1.206 GB, free: 11.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 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.mat","/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