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.006758/0.006758, allocations: 104.9 kB / 15.74 MB, free: 6.039 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.001622/0.001622, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.307/2.307, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.59 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2483, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1721/0.4205, allocations: 170.8 MB / 1.254 GB, free: 6.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.4261, allocations: 3.384 MB / 1.258 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.4271, allocations: 19.88 kB / 1.258 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.4283, allocations: 322.1 kB / 1.258 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.4313, allocations: 1.007 MB / 1.259 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.433, allocations: 0.6669 MB / 1.26 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.583/1.016, allocations: 1.523 MB / 1.261 GB, free: 4.285 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009624/1.017, allocations: 473.5 kB / 1.261 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/1.018, allocations: 0.5625 MB / 1.262 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/1.02, allocations: 467.2 kB / 1.262 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/1.02, allocations: 55.16 kB / 1.263 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/1.022, allocations: 0.8304 MB / 1.263 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004123/1.022, allocations: 238 kB / 1.264 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005408/1.023, allocations: 340.2 kB / 1.264 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/1.025, allocations: 1.131 MB / 1.265 GB, free: 4.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.025, allocations: 1.031 kB / 1.265 GB, free: 4.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/1.025, allocations: 0 / 1.265 GB, free: 4.254 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.748e-05/1.025, allocations: 1.75 kB / 1.265 GB, free: 4.254 MB / 1.014 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.001605/1.027, allocations: 0.9114 MB / 1.266 GB, free: 3.715 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.027, allocations: 10.06 kB / 1.266 GB, free: 3.715 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/1.027, allocations: 86.75 kB / 1.266 GB, free: 3.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/1.028, allocations: 175.9 kB / 1.266 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009596/1.029, allocations: 0.5225 MB / 1.267 GB, free: 3.391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/1.029, allocations: 33.66 kB / 1.267 GB, free: 3.391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/1.029, allocations: 47.19 kB / 1.267 GB, free: 3.387 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/1.03, allocations: 475.2 kB / 1.267 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/1.03, allocations: 1.688 kB / 1.267 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/1.03, allocations: 17.19 kB / 1.267 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/1.03, allocations: 19.84 kB / 1.267 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/1.031, allocations: 410.1 kB / 1.268 GB, free: 3.348 MB / 1.014 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.002728/1.034, allocations: 1.723 MB / 1.269 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/1.034, allocations: 295.6 kB / 1.27 GB, free: 2.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/1.034, allocations: 186.2 kB / 1.27 GB, free: 2.562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/1.035, allocations: 100.2 kB / 1.27 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.035, allocations: 38.56 kB / 1.27 GB, free: 2.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/1.035, allocations: 0 / 1.27 GB, free: 2.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002288/1.037, allocations: 1.062 MB / 1.271 GB, free: 18.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.037, allocations: 55.47 kB / 1.271 GB, free: 18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/1.038, allocations: 459.2 kB / 1.271 GB, free: 17.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/1.038, allocations: 33.31 kB / 1.271 GB, free: 17.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.038, allocations: 248.7 kB / 1.272 GB, free: 17.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.038, allocations: 118.1 kB / 1.272 GB, free: 17.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.038, allocations: 73.33 kB / 1.272 GB, free: 17.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.038, allocations: 355.8 kB / 1.272 GB, free: 17.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/1.038, allocations: 127.5 kB / 1.272 GB, free: 17.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/1.039, allocations: 198.5 kB / 1.273 GB, free: 17.26 MB / 1.029 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.002171/1.041, allocations: 0.8598 MB / 1.273 GB, free: 17.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.041, allocations: 2.156 kB / 1.273 GB, free: 17.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008178/1.042, allocations: 425.1 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.042, allocations: 6.594 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.042, allocations: 2.812 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.042, allocations: 3.531 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/1.042, allocations: 71.52 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.042, allocations: 5.078 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/1.043, allocations: 9.75 kB / 1.274 GB, free: 17.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.043, allocations: 15.27 kB / 1.274 GB, free: 17.04 MB / 1.029 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.0002999/1.043, allocations: 214.2 kB / 1.274 GB, free: 16.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/1.043, allocations: 54.12 kB / 1.274 GB, free: 16.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/1.043, allocations: 59.36 kB / 1.274 GB, free: 16.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.043, allocations: 5.641 kB / 1.274 GB, free: 16.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.043, allocations: 0 / 1.274 GB, free: 16.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005049/1.044, allocations: 414.3 kB / 1.275 GB, free: 16.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/1.046, allocations: 1.241 MB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.016e-06/1.046, allocations: 6.781 kB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/1.046, allocations: 76.44 kB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.046, allocations: 6.219 kB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/1.046, allocations: 11.25 kB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.046, allocations: 10.67 kB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.046, allocations: 4.875 kB / 1.276 GB, free: 16.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/1.047, allocations: 0.7081 MB / 1.277 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/1.048, allocations: 168.2 kB / 1.277 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/1.048, allocations: 12.47 kB / 1.277 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/1.048, allocations: 19.95 kB / 1.277 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/1.048, allocations: 36.03 kB / 1.277 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/1.048, allocations: 16.88 kB / 1.277 GB, free: 15.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003894/1.049, allocations: 333.5 kB / 1.277 GB, free: 15.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.049, allocations: 0 / 1.277 GB, free: 15.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006361/1.049, allocations: 143.5 kB / 1.277 GB, free: 15.78 MB / 1.029 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.001501/1.051, allocations: 1.301 MB / 1.279 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007188/1.051, allocations: 340.5 kB / 1.279 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.051, allocations: 1.656 kB / 1.279 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/1.052, allocations: 164.9 kB / 1.279 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.053, allocations: 363.4 kB / 1.279 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/1.059, allocations: 4.404 MB / 1.284 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.059, allocations: 0.8829 MB / 1.285 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004586/1.06, allocations: 139.8 kB / 1.285 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/1.06, allocations: 168.6 kB / 1.285 GB, free: 12.33 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/1.06, allocations: 1.969 kB / 1.285 GB, free: 12.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/1.097, allocations: 15.46 MB / 1.3 GB, free: 11.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/9.206, allocations: 10.3 kB / 1.3 GB, free: 11.26 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