Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001062/0.001062, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008217/0.008217, allocations: 173.8 kB / 16.27 MB, free: 6.66 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 12 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6929, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1781/0.871, allocations: 166.3 MB / 1.186 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.8767, allocations: 3.388 MB / 1.189 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005828/0.8773, allocations: 15.88 kB / 1.189 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008521/0.8782, allocations: 270.6 kB / 1.189 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.8807, allocations: 0.961 MB / 1.19 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.8822, allocations: 0.6013 MB / 1.191 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.8846, allocations: 2.106 MB / 1.193 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.8852, allocations: 396.6 kB / 1.193 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.8862, allocations: 485.8 kB / 1.194 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.8873, allocations: 463.1 kB / 1.194 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.8874, allocations: 24 kB / 1.194 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.8891, allocations: 0.9468 MB / 1.195 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.8893, allocations: 207.4 kB / 1.195 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.8897, allocations: 324.2 kB / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.8913, allocations: 1.137 MB / 1.197 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8913, allocations: 0 / 1.197 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.008e-06/0.8913, allocations: 3.984 kB / 1.197 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.8913, allocations: 0 / 1.197 GB, free: 13.57 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001347/0.8927, allocations: 0.787 MB / 1.197 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8927, allocations: 12.03 kB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.502e-05/0.8928, allocations: 78.53 kB / 1.197 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.894, allocations: 183.1 kB / 1.198 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007003/0.8947, allocations: 0.5051 MB / 1.198 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.8948, allocations: 29 kB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.8948, allocations: 40 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.8956, allocations: 478.4 kB / 1.199 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.8956, allocations: 0 / 1.199 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.8957, allocations: 20 kB / 1.199 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.8957, allocations: 17 kB / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.8964, allocations: 415.7 kB / 1.199 GB, free: 10.93 MB / 0.9512 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.002486/0.8989, allocations: 1.732 MB / 1.201 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.8994, allocations: 306.5 kB / 1.201 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.8996, allocations: 184.7 kB / 1.201 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.8998, allocations: 97.09 kB / 1.201 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8999, allocations: 38.56 kB / 1.201 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.8999, allocations: 0 / 1.201 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002022/0.9019, allocations: 1.058 MB / 1.202 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.9019, allocations: 55.41 kB / 1.202 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.9024, allocations: 461.8 kB / 1.203 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.9025, allocations: 29.7 kB / 1.203 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.9027, allocations: 256.1 kB / 1.203 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.9028, allocations: 110.4 kB / 1.203 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.9029, allocations: 37.64 kB / 1.203 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.903, allocations: 358.8 kB / 1.204 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.9032, allocations: 131.9 kB / 1.204 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.9035, allocations: 201.6 kB / 1.204 GB, free: 5.625 MB / 0.9512 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.9054, allocations: 0.871 MB / 1.205 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9054, allocations: 3.938 kB / 1.205 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006144/0.9061, allocations: 412.7 kB / 1.205 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9061, allocations: 5.094 kB / 1.205 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9061, allocations: 4 kB / 1.205 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.9061, allocations: 4 kB / 1.205 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.9064, allocations: 71.91 kB / 1.205 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9065, allocations: 0 / 1.205 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.9069, allocations: 36.02 kB / 1.205 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.907, allocations: 16 kB / 1.205 GB, free: 4.168 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * 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 initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.9073, allocations: 220.3 kB / 1.206 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.9073, allocations: 51.42 kB / 1.206 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.9075, allocations: 60.77 kB / 1.206 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9075, allocations: 4 kB / 1.206 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9075, allocations: 0 / 1.206 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004916/0.908, allocations: 404.3 kB / 1.206 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.9098, allocations: 1.251 MB / 1.207 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.9098, allocations: 4 kB / 1.207 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.9101, allocations: 72.41 kB / 1.207 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.9102, allocations: 8 kB / 1.207 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.9102, allocations: 12 kB / 1.207 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.9102, allocations: 7.984 kB / 1.207 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.9102, allocations: 11.94 kB / 1.207 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.911, allocations: 0.6962 MB / 1.208 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.9113, allocations: 168.5 kB / 1.208 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.9113, allocations: 19.92 kB / 1.208 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.9118, allocations: 31.98 kB / 1.208 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.9119, allocations: 35.75 kB / 1.208 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.9119, allocations: 20 kB / 1.208 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003762/0.9123, allocations: 339 kB / 1.209 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9123, allocations: 0 / 1.209 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005525/0.9129, allocations: 140 kB / 1.209 GB, free: 432 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/0.9143, allocations: 1.308 MB / 1.21 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.9148, allocations: 319.5 kB / 1.21 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9149, allocations: 0 / 1.21 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.9151, allocations: 161.6 kB / 1.211 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.9171, allocations: 359.4 kB / 1.211 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.923, allocations: 4.692 MB / 1.215 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.9234, allocations: 0.8861 MB / 1.216 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005561/0.924, allocations: 132.6 kB / 1.216 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.9242, allocations: 167.4 kB / 1.217 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of SimCode: time 7.52e-07/0.9242, allocations: 0 / 1.217 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.671/2.596, allocations: 14.64 MB / 1.231 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/2.596, allocations: 252.3 kB / 1.231 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/4.638, allocations: 4 kB / 1.231 GB, free: 9.539 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches