Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_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.007851/0.007851, allocations: 96.84 kB / 15.73 MB, free: 6.047 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.001902/0.001902, allocations: 192.8 kB / 16.67 MB, free: 5.957 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8115, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1982/1.01, allocations: 170.8 MB / 1.254 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005558/1.015, allocations: 3.382 MB / 1.258 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/1.016, allocations: 23.88 kB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009336/1.017, allocations: 310.1 kB / 1.258 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/1.019, allocations: 1.019 MB / 1.259 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/1.021, allocations: 0.6656 MB / 1.26 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001625/1.023, allocations: 1.525 MB / 1.261 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005886/1.023, allocations: 489.3 kB / 1.261 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008042/1.024, allocations: 0.5643 MB / 1.262 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009725/1.025, allocations: 464.8 kB / 1.262 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/1.025, allocations: 56 kB / 1.263 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/1.027, allocations: 0.8301 MB / 1.263 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/1.027, allocations: 243.4 kB / 1.264 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/1.027, allocations: 334.5 kB / 1.264 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/1.029, allocations: 1.141 MB / 1.265 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.029, allocations: 0 / 1.265 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.029, allocations: 0 / 1.265 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.029, allocations: 0 / 1.265 GB, free: 7.879 MB / 0.9981 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.001308/1.03, allocations: 0.9077 MB / 1.266 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.03, allocations: 12.03 kB / 1.266 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/1.03, allocations: 86.52 kB / 1.266 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/1.031, allocations: 167.1 kB / 1.266 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007938/1.032, allocations: 0.5325 MB / 1.267 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/1.032, allocations: 29 kB / 1.267 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/1.032, allocations: 51.92 kB / 1.267 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/1.033, allocations: 470.4 kB / 1.267 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.033, allocations: 0 / 1.267 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/1.033, allocations: 16 kB / 1.267 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.033, allocations: 21 kB / 1.267 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/1.034, allocations: 415.7 kB / 1.268 GB, free: 5.086 MB / 0.9981 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.002355/1.036, allocations: 1.724 MB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/1.036, allocations: 294.6 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/1.037, allocations: 181.2 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.037, allocations: 109 kB / 1.27 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/1.037, allocations: 34.56 kB / 1.27 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/1.037, allocations: 0 / 1.27 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001833/1.039, allocations: 1.05 MB / 1.271 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.039, allocations: 63.41 kB / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/1.039, allocations: 453.8 kB / 1.271 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/1.039, allocations: 37.64 kB / 1.271 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.04, allocations: 248.2 kB / 1.272 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.04, allocations: 114.3 kB / 1.272 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/1.04, allocations: 73.59 kB / 1.272 GB, free: 484 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.04, allocations: 350.8 kB / 1.272 GB, free: 124 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/1.04, allocations: 132 kB / 1.272 GB, free: 15.99 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/1.04, allocations: 201.8 kB / 1.273 GB, free: 15.77 MB / 1.014 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.001948/1.042, allocations: 0.8679 MB / 1.273 GB, free: 14.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.042, allocations: 0 / 1.273 GB, free: 14.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005877/1.043, allocations: 416.5 kB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.043, allocations: 8 kB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.043, allocations: 0 / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.043, allocations: 8.188 kB / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/1.043, allocations: 67.91 kB / 1.274 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.043, allocations: 4 kB / 1.274 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/1.044, allocations: 19.92 kB / 1.274 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.044, allocations: 8 kB / 1.274 GB, free: 14.34 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0002629/1.044, allocations: 217.6 kB / 1.274 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/1.044, allocations: 47.44 kB / 1.274 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/1.044, allocations: 64.75 kB / 1.274 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.044, allocations: 8 kB / 1.274 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.044, allocations: 0 / 1.274 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005197/1.045, allocations: 400.6 kB / 1.275 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.047, allocations: 1.259 MB / 1.276 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.047, allocations: 4.031 kB / 1.276 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/1.047, allocations: 75.91 kB / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.047, allocations: 4 kB / 1.276 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/1.047, allocations: 12 kB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/1.047, allocations: 4 kB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.047, allocations: 11.94 kB / 1.276 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/1.048, allocations: 0.7074 MB / 1.277 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/1.048, allocations: 168.5 kB / 1.277 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/1.048, allocations: 12 kB / 1.277 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/1.049, allocations: 17.11 kB / 1.277 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/1.049, allocations: 39.91 kB / 1.277 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/1.049, allocations: 19.98 kB / 1.277 GB, free: 11.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003599/1.049, allocations: 331.1 kB / 1.277 GB, free: 10.74 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.049, allocations: 0 / 1.277 GB, free: 10.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005344/1.05, allocations: 140 kB / 1.277 GB, free: 10.61 MB / 1.014 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.001349/1.051, allocations: 1.316 MB / 1.279 GB, free: 9.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005164/1.052, allocations: 327.5 kB / 1.279 GB, free: 8.902 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.052, allocations: 0 / 1.279 GB, free: 8.902 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.052, allocations: 171.3 kB / 1.279 GB, free: 8.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.053, allocations: 357.8 kB / 1.279 GB, free: 8.395 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/1.058, allocations: 4.384 MB / 1.284 GB, free: 3.793 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/1.059, allocations: 0.8901 MB / 1.285 GB, free: 2.875 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004143/1.059, allocations: 132.6 kB / 1.285 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.059, allocations: 171.4 kB / 1.285 GB, free: 2.574 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.059, allocations: 7.938 kB / 1.285 GB, free: 2.566 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/1.097, allocations: 15.72 MB / 1.3 GB, free: 3.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/9.452, allocations: 10.55 kB / 1.3 GB, free: 3.16 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches