Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 106.5 kB / 15.99 MB, free: 5.891 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.001252/0.001252, allocations: 185.7 kB / 16.91 MB, free: 5.746 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.86 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.782/1.125, allocations: 168.5 MB / 1.229 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006227/1.131, allocations: 3.345 MB / 1.232 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/1.132, allocations: 25.34 kB / 1.232 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/1.133, allocations: 278.9 kB / 1.232 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/1.136, allocations: 0.9533 MB / 1.233 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/1.138, allocations: 0.6188 MB / 1.234 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002367/1.14, allocations: 1.521 MB / 1.235 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008616/1.141, allocations: 473.4 kB / 1.236 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/1.142, allocations: 0.5526 MB / 1.236 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.144, allocations: 0.5009 MB / 1.237 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/1.144, allocations: 52 kB / 1.237 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/1.146, allocations: 0.8728 MB / 1.238 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/1.146, allocations: 247.3 kB / 1.238 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004401/1.147, allocations: 330.6 kB / 1.238 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/1.148, allocations: 0.8537 MB / 1.239 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.148, allocations: 0 / 1.239 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/1.148, allocations: 3.938 kB / 1.239 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.148, allocations: 0 / 1.239 GB, free: 6.074 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.001742/1.15, allocations: 0.9122 MB / 1.24 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.15, allocations: 12.02 kB / 1.24 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/1.151, allocations: 175.1 kB / 1.24 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/1.152, allocations: 0.4898 MB / 1.241 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/1.152, allocations: 36.94 kB / 1.241 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/1.152, allocations: 51.78 kB / 1.241 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/1.153, allocations: 478.4 kB / 1.241 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.153, allocations: 3.984 kB / 1.241 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/1.153, allocations: 16 kB / 1.241 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/1.153, allocations: 17 kB / 1.241 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/1.154, allocations: 419.7 kB / 1.242 GB, free: 3.395 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.00285/1.157, allocations: 1.732 MB / 1.243 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/1.157, allocations: 294.7 kB / 1.244 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.158, allocations: 183.3 kB / 1.244 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/1.158, allocations: 97.03 kB / 1.244 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.158, allocations: 42.5 kB / 1.244 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.494e-06/1.158, allocations: 0 / 1.244 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002372/1.16, allocations: 1.063 MB / 1.245 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.16, allocations: 55.41 kB / 1.245 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/1.161, allocations: 461.9 kB / 1.245 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.161, allocations: 33.7 kB / 1.245 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/1.161, allocations: 256 kB / 1.246 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.161, allocations: 110.3 kB / 1.246 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.161, allocations: 73.61 kB / 1.246 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.162, allocations: 358.8 kB / 1.246 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.162, allocations: 127.9 kB / 1.246 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/1.162, allocations: 197.9 kB / 1.246 GB, free: 14.06 MB / 0.9669 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.002087/1.164, allocations: 0.8602 MB / 1.247 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.164, allocations: 0 / 1.247 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007361/1.165, allocations: 420.5 kB / 1.248 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.165, allocations: 4 kB / 1.248 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.165, allocations: 7.938 kB / 1.248 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.165, allocations: 0 / 1.248 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/1.165, allocations: 71.91 kB / 1.248 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.165, allocations: 4 kB / 1.248 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/1.166, allocations: 32.11 kB / 1.248 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.166, allocations: 12 kB / 1.248 GB, free: 12.62 MB / 0.9669 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.0003411/1.166, allocations: 213.7 kB / 1.248 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/1.166, allocations: 55.31 kB / 1.248 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/1.167, allocations: 56.77 kB / 1.248 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/1.167, allocations: 4 kB / 1.248 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.167, allocations: 4 kB / 1.248 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005804/1.167, allocations: 412.2 kB / 1.249 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/1.169, allocations: 1.233 MB / 1.25 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.169, allocations: 8.438 kB / 1.25 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/1.17, allocations: 79.89 kB / 1.25 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.17, allocations: 7.984 kB / 1.25 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/1.17, allocations: 12 kB / 1.25 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.17, allocations: 7.938 kB / 1.25 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.17, allocations: 4.875 kB / 1.25 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.171, allocations: 0.7077 MB / 1.251 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/1.171, allocations: 168.5 kB / 1.251 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/1.171, allocations: 12 kB / 1.251 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/1.172, allocations: 39.89 kB / 1.251 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/1.172, allocations: 31.84 kB / 1.251 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/1.172, allocations: 25.48 kB / 1.251 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004106/1.172, allocations: 323.1 kB / 1.251 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/1.172, allocations: 0 / 1.251 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005716/1.173, allocations: 144 kB / 1.251 GB, free: 8.871 MB / 0.9669 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.0004553/1.173, allocations: 174.5 kB / 1.251 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006211/1.174, allocations: 343.5 kB / 1.252 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.174, allocations: 0 / 1.252 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/1.174, allocations: 164.5 kB / 1.252 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.176, allocations: 367.5 kB / 1.252 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.178, allocations: 1.339 MB / 1.254 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/1.178, allocations: 0.8823 MB / 1.254 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.179, allocations: 43.44 kB / 1.254 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of SimCode: time 9.62e-07/1.179, allocations: 0 / 1.254 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of Templates: time 0.01494/1.194, allocations: 8.611 MB / 1.263 GB, free: 12.96 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches