Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 97.95 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.006402/0.006403, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.559/1.559, 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 11.1.0-maint.11.x/package.mo): time 3.048/3.048, allocations: 470.6 MB / 0.7441 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 13.59 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 1.128/1.512, allocations: 204.9 MB / 1.27 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01673/1.529, allocations: 9.859 MB / 1.28 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/1.532, allocations: 53.06 kB / 1.28 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/1.535, allocations: 0.6569 MB / 1.28 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0099/1.545, allocations: 2.641 MB / 1.283 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004887/1.55, allocations: 1.265 MB / 1.284 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01125/1.561, allocations: 5.636 MB / 1.29 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/1.564, allocations: 1.089 MB / 1.291 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/1.568, allocations: 1.127 MB / 1.292 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004416/1.572, allocations: 1.234 MB / 1.293 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003667/1.573, allocations: 55.41 kB / 1.293 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007208/1.58, allocations: 2.743 MB / 1.296 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002107/1.582, allocations: 0.5099 MB / 1.296 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004694/1.587, allocations: 0.7746 MB / 1.297 GB, free: 20.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/1.597, allocations: 3.038 MB / 1.3 GB, free: 20.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.597, allocations: 0 / 1.3 GB, free: 20.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/1.597, allocations: 0 / 1.3 GB, free: 20.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.615e-05/1.597, allocations: 4 kB / 1.3 GB, free: 20.35 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003747/1.601, allocations: 1.593 MB / 1.301 GB, free: 19.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.601, allocations: 13.91 kB / 1.301 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/1.605, allocations: 491.7 kB / 1.302 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/1.607, allocations: 1.059 MB / 1.303 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/1.607, allocations: 80.17 kB / 1.303 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/1.607, allocations: 116.3 kB / 1.303 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/1.61, allocations: 1.163 MB / 1.304 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/1.61, allocations: 5.25 kB / 1.304 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.61, allocations: 44.53 kB / 1.304 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/1.61, allocations: 38.2 kB / 1.304 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/1.612, allocations: 1.079 MB / 1.305 GB, free: 18.89 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.008513/1.62, allocations: 4.216 MB / 1.31 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.622, allocations: 0.7956 MB / 1.31 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/1.622, allocations: 482.5 kB / 1.311 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/1.623, allocations: 293.2 kB / 1.311 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.623, allocations: 52.5 kB / 1.311 GB, free: 16.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/1.623, allocations: 4.875 kB / 1.311 GB, free: 16.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.006563/1.63, allocations: 2.849 MB / 1.314 GB, free: 16.08 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/1.63, allocations: 60.88 kB / 1.314 GB, free: 16.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.631, allocations: 0.9717 MB / 1.315 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.631, allocations: 45.8 kB / 1.315 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/1.632, allocations: 0.5413 MB / 1.315 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/1.632, allocations: 320.1 kB / 1.316 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/1.632, allocations: 77.41 kB / 1.316 GB, free: 15.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.632, allocations: 339.5 kB / 1.316 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/1.633, allocations: 340.6 kB / 1.317 GB, free: 15.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/1.633, allocations: 492.9 kB / 1.317 GB, free: 15 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00593/1.639, allocations: 3.04 MB / 1.32 GB, free: 14.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.639, allocations: 1.859 kB / 1.32 GB, free: 14.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001654/1.641, allocations: 1.014 MB / 1.321 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.641, allocations: 8.375 kB / 1.321 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.641, allocations: 2.906 kB / 1.321 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.641, allocations: 5.375 kB / 1.321 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/1.642, allocations: 183.9 kB / 1.321 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.642, allocations: 8 kB / 1.321 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.643, allocations: 78.09 kB / 1.321 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/1.644, allocations: 34.72 kB / 1.321 GB, free: 14.4 MB / 1.014 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.000816/1.644, allocations: 377.8 kB / 1.322 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/1.645, allocations: 130.4 kB / 1.322 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/1.645, allocations: 145.1 kB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.645, allocations: 8.281 kB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/1.645, allocations: 3.594 kB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/1.647, allocations: 1.094 MB / 1.323 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/1.652, allocations: 3.051 MB / 1.326 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.652, allocations: 8.906 kB / 1.326 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/1.652, allocations: 166.1 kB / 1.326 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003333/1.653, allocations: 98.88 kB / 1.326 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/1.653, allocations: 31.91 kB / 1.326 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/1.655, allocations: 2.88 MB / 1.329 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.655, allocations: 14.44 kB / 1.329 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/1.658, allocations: 1.731 MB / 1.331 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/1.659, allocations: 308.5 kB / 1.331 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.659, allocations: 36.56 kB / 1.331 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.66, allocations: 74.03 kB / 1.331 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.66, allocations: 90.03 kB / 1.331 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/1.66, allocations: 47.58 kB / 1.331 GB, free: 9.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009961/1.661, allocations: 0.6916 MB / 1.332 GB, free: 9.711 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.11e-07/1.661, allocations: 0 / 1.332 GB, free: 9.711 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00131/1.663, allocations: 377.2 kB / 1.332 GB, free: 9.711 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005871/1.663, allocations: 252 kB / 1.333 GB, free: 9.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001348/1.665, allocations: 0.8255 MB / 1.333 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.665, allocations: 3.219 kB / 1.333 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.666, allocations: 0.6689 MB / 1.334 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/1.672, allocations: 0.8852 MB / 1.335 GB, free: 9.262 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/1.677, allocations: 3.387 MB / 1.338 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.678, allocations: 1.247 MB / 1.339 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001784/1.68, allocations: 341.4 kB / 1.34 GB, free: 6.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.68, allocations: 101.9 kB / 1.34 GB, free: 6.559 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/1.68, allocations: 0 / 1.34 GB, free: 6.559 MB / 1.014 GB Notification: Performance of Templates: time 0.05235/1.732, allocations: 27.03 MB / 1.366 GB, free: 10.74 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches