Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_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.001279/0.001279, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001366/0.001366, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.06 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0517/0.3796, allocations: 49.38 MB / 1.101 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.4001, allocations: 12.58 MB / 1.113 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.4036, allocations: 71.56 kB / 1.113 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.4064, allocations: 0.6525 MB / 1.114 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.4125, allocations: 1.703 MB / 1.115 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.4165, allocations: 1.219 MB / 1.116 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005119/0.4217, allocations: 3.291 MB / 1.12 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.424, allocations: 1.231 MB / 1.121 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.4285, allocations: 1.308 MB / 1.122 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.4304, allocations: 0.9642 MB / 1.123 GB, free: 12 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.4308, allocations: 99.98 kB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.4336, allocations: 1.072 MB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.4342, allocations: 294.8 kB / 1.125 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.4356, allocations: 0.6761 MB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.4395, allocations: 1.939 MB / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4395, allocations: 0 / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4395, allocations: 0 / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.568e-05/0.4396, allocations: 7.984 kB / 1.127 GB, free: 11.92 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.003923/0.4435, allocations: 1.697 MB / 1.129 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4436, allocations: 8.625 kB / 1.129 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.4438, allocations: 139.4 kB / 1.129 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.4445, allocations: 207.1 kB / 1.129 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.4465, allocations: 1.077 MB / 1.13 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.4469, allocations: 126.1 kB / 1.13 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.447, allocations: 84 kB / 1.13 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.4488, allocations: 0.9845 MB / 1.131 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.4489, allocations: 7.938 kB / 1.131 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.4489, allocations: 39.98 kB / 1.131 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.449, allocations: 24 kB / 1.131 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.4504, allocations: 0.6556 MB / 1.132 GB, free: 6.695 MB / 0.8887 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.005088/0.4555, allocations: 4.41 MB / 1.136 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.4567, allocations: 422.2 kB / 1.137 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.4572, allocations: 229.1 kB / 1.137 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.4582, allocations: 1.152 MB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4583, allocations: 42.5 kB / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.4583, allocations: 0 / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002865/0.4612, allocations: 1.091 MB / 1.139 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4612, allocations: 59.41 kB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.4624, allocations: 0.9318 MB / 1.14 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.4625, allocations: 33.7 kB / 1.14 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/0.463, allocations: 0.5773 MB / 1.141 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4631, allocations: 110.5 kB / 1.141 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4633, allocations: 102.1 kB / 1.141 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4634, allocations: 326 kB / 1.141 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.464, allocations: 197 kB / 1.141 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/0.4647, allocations: 380.4 kB / 1.142 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.4659, allocations: 0.5682 MB / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4659, allocations: 4 kB / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001673/0.4676, allocations: 0.7368 MB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4676, allocations: 13.5 kB / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4677, allocations: 8 kB / 1.143 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.4684, allocations: 158.7 kB / 1.143 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.469, allocations: 147.8 kB / 1.143 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4702, allocations: 1.708 MB / 1.145 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/0.471, allocations: 103.4 kB / 1.145 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.471, allocations: 31.98 kB / 1.145 GB, free: 8.301 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.000433/0.4715, allocations: 265.6 kB / 1.145 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4717, allocations: 110.6 kB / 1.146 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.4735, allocations: 0.7269 MB / 1.146 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.4736, allocations: 11.92 kB / 1.146 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4736, allocations: 0 / 1.146 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4736, allocations: 192 / 1.146 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.4767, allocations: 1.649 MB / 1.148 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4767, allocations: 8 kB / 1.148 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.4772, allocations: 92.03 kB / 1.148 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005662/0.4777, allocations: 158.4 kB / 1.148 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.4778, allocations: 8 kB / 1.148 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.4789, allocations: 1.712 MB / 1.15 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.479, allocations: 3.938 kB / 1.15 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.4805, allocations: 0.7841 MB / 1.151 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.481, allocations: 243.5 kB / 1.151 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4811, allocations: 8 kB / 1.151 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/0.4819, allocations: 67.92 kB / 1.151 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.482, allocations: 35.89 kB / 1.151 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.482, allocations: 19.98 kB / 1.151 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008544/0.4829, allocations: 0.6342 MB / 1.152 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4829, allocations: 3.938 kB / 1.152 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001079/0.484, allocations: 371.1 kB / 1.152 GB, free: 1.145 MB / 0.9044 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.002696/0.4867, allocations: 1.606 MB / 1.153 GB, free: 15.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.4883, allocations: 0.5632 MB / 1.154 GB, free: 14.92 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4884, allocations: 0 / 1.154 GB, free: 14.92 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.4892, allocations: 300.2 kB / 1.154 GB, free: 14.63 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.4916, allocations: 0.5322 MB / 1.155 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.5046, allocations: 7.926 MB / 1.163 GB, free: 5.738 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.5054, allocations: 1.103 MB / 1.164 GB, free: 4.605 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000826/0.5062, allocations: 183.9 kB / 1.164 GB, free: 4.422 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.5068, allocations: 423.3 kB / 1.164 GB, free: 4.008 MB / 0.92 GB Notification: Performance of SimCode: time 1.132e-06/0.5068, allocations: 0 / 1.164 GB, free: 4.008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.636/2.143, allocations: 28.23 MB / 1.192 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/2.143, allocations: 298.3 kB / 1.192 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/4.458, allocations: 3.938 kB / 1.192 GB, free: 7.859 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches