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.00117/0.00117, 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.001162/0.001162, allocations: 193 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.61 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2892, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05055/0.3398, allocations: 49.78 MB / 1.112 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01881/0.3586, allocations: 12.67 MB / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.361, allocations: 79.56 kB / 1.125 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.363, allocations: 0.7643 MB / 1.125 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.3675, allocations: 1.832 MB / 1.127 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.3708, allocations: 1.339 MB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003819/0.3746, allocations: 3.253 MB / 1.132 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.3764, allocations: 1.266 MB / 1.133 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.3792, allocations: 1.284 MB / 1.134 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.3806, allocations: 0.9292 MB / 1.135 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.3809, allocations: 107.9 kB / 1.135 GB, free: 5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.383, allocations: 1.057 MB / 1.136 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.3834, allocations: 294.8 kB / 1.137 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008903/0.3843, allocations: 0.6761 MB / 1.137 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.3868, allocations: 1.916 MB / 1.139 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3869, allocations: 0 / 1.139 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3869, allocations: 0 / 1.139 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.692e-05/0.3869, allocations: 4 kB / 1.139 GB, free: 1.047 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.002703/0.3896, allocations: 1.697 MB / 1.141 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3897, allocations: 12.03 kB / 1.141 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.3898, allocations: 131.4 kB / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.3905, allocations: 215 kB / 1.141 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.3923, allocations: 1.014 MB / 1.142 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.3927, allocations: 126.1 kB / 1.142 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/0.3928, allocations: 84 kB / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.3944, allocations: 1.011 MB / 1.143 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3945, allocations: 0 / 1.143 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.3945, allocations: 40 kB / 1.143 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.3946, allocations: 23.94 kB / 1.143 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.3961, allocations: 0.6594 MB / 1.144 GB, free: 11.85 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.004811/0.4009, allocations: 4.769 MB / 1.149 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4022, allocations: 410.6 kB / 1.149 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.4027, allocations: 221.5 kB / 1.149 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/0.4035, allocations: 1.156 MB / 1.15 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4036, allocations: 34.56 kB / 1.15 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.4036, allocations: 0 / 1.15 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002922/0.4065, allocations: 1.096 MB / 1.151 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.4066, allocations: 59.39 kB / 1.152 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.4077, allocations: 0.9715 MB / 1.152 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.4077, allocations: 33.7 kB / 1.153 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.4081, allocations: 0.5811 MB / 1.153 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.4082, allocations: 110.5 kB / 1.153 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.4084, allocations: 114 kB / 1.153 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.4085, allocations: 325.9 kB / 1.154 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.4091, allocations: 201 kB / 1.154 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.4098, allocations: 418.4 kB / 1.154 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.4111, allocations: 0.6135 MB / 1.155 GB, free: 15.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4111, allocations: 0 / 1.155 GB, free: 15.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001718/0.4128, allocations: 0.7693 MB / 1.156 GB, free: 15.15 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4128, allocations: 8 kB / 1.156 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4128, allocations: 4 kB / 1.156 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.4135, allocations: 166.4 kB / 1.156 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.4141, allocations: 147.8 kB / 1.156 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009825/0.4151, allocations: 1.719 MB / 1.158 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.4158, allocations: 91.52 kB / 1.158 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.4159, allocations: 31.98 kB / 1.158 GB, free: 12.9 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.0003461/0.4162, allocations: 265.6 kB / 1.158 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.4164, allocations: 110.6 kB / 1.158 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.4182, allocations: 0.7308 MB / 1.159 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4183, allocations: 7.938 kB / 1.159 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4183, allocations: 7.938 kB / 1.159 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4183, allocations: 3.984 kB / 1.159 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.4211, allocations: 1.644 MB / 1.16 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4211, allocations: 4 kB / 1.16 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.4216, allocations: 96.02 kB / 1.16 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.4221, allocations: 154.6 kB / 1.161 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4222, allocations: 8 kB / 1.161 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009361/0.4231, allocations: 1.712 MB / 1.162 GB, free: 7.969 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4231, allocations: 4.031 kB / 1.162 GB, free: 7.965 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.4247, allocations: 0.7839 MB / 1.163 GB, free: 7.137 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.4251, allocations: 247.6 kB / 1.163 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.4252, allocations: 8 kB / 1.163 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.4258, allocations: 55.94 kB / 1.163 GB, free: 6.812 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.4259, allocations: 31.84 kB / 1.163 GB, free: 6.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.426, allocations: 19.98 kB / 1.163 GB, free: 6.762 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007781/0.4267, allocations: 0.6658 MB / 1.164 GB, free: 6.09 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4268, allocations: 0 / 1.164 GB, free: 6.09 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009716/0.4277, allocations: 371.1 kB / 1.164 GB, free: 5.727 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.002518/0.4303, allocations: 1.633 MB / 1.166 GB, free: 4.043 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.4319, allocations: 0.5751 MB / 1.167 GB, free: 3.469 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4319, allocations: 3.938 kB / 1.167 GB, free: 3.465 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.4328, allocations: 300 kB / 1.167 GB, free: 3.172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.4351, allocations: 0.5233 MB / 1.167 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.446, allocations: 7.735 MB / 1.175 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.4467, allocations: 1.103 MB / 1.176 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000721/0.4474, allocations: 199.4 kB / 1.176 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.4479, allocations: 419.3 kB / 1.177 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of SimCode: time 9.42e-07/0.4479, allocations: 0 / 1.177 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05517/0.5031, allocations: 29.27 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.1, allocations: 13.11 kB / 1.205 GB, free: 11.87 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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