Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001493/0.001493, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00139/0.00139, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.568/1.568, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7233, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2589/0.9822, allocations: 207.2 MB / 1.219 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01793/1, allocations: 9.804 MB / 1.229 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/1.003, allocations: 51.62 kB / 1.229 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/1.006, allocations: 0.684 MB / 1.229 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009304/1.016, allocations: 2.65 MB / 1.232 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004207/1.02, allocations: 1.263 MB / 1.233 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006769/1.027, allocations: 4.06 MB / 1.237 GB, free: 184 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/1.029, allocations: 1.29 MB / 1.239 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/1.033, allocations: 1.374 MB / 1.24 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/1.036, allocations: 1.318 MB / 1.241 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003939/1.037, allocations: 144 kB / 1.241 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006153/1.043, allocations: 2.509 MB / 1.244 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.044, allocations: 0.6116 MB / 1.244 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/1.046, allocations: 0.8557 MB / 1.245 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007213/1.053, allocations: 3.151 MB / 1.248 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.053, allocations: 0 / 1.248 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/1.053, allocations: 0 / 1.248 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.568e-05/1.053, allocations: 4 kB / 1.248 GB, free: 4.875 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004017/1.057, allocations: 1.89 MB / 1.25 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.057, allocations: 8.031 kB / 1.25 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/1.061, allocations: 489.7 kB / 1.251 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/1.063, allocations: 1.065 MB / 1.252 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/1.063, allocations: 78.14 kB / 1.252 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.063, allocations: 111.9 kB / 1.252 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6303/1.693, allocations: 1.155 MB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.613e-05/1.693, allocations: 3.906 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/1.694, allocations: 44.94 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/1.694, allocations: 43.33 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/1.696, allocations: 1.071 MB / 1.254 GB, free: 235 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.007414/1.704, allocations: 4.219 MB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/1.705, allocations: 0.7843 MB / 1.259 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007913/1.706, allocations: 484.7 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/1.706, allocations: 288.4 kB / 1.26 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.706, allocations: 45.38 kB / 1.26 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.386e-06/1.706, allocations: 3.75 kB / 1.26 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.006838/1.713, allocations: 2.843 MB / 1.263 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/1.713, allocations: 65.44 kB / 1.263 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/1.715, allocations: 0.9801 MB / 1.264 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.715, allocations: 46.08 kB / 1.264 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/1.716, allocations: 0.536 MB / 1.264 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/1.716, allocations: 320.1 kB / 1.264 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.716, allocations: 160.5 kB / 1.265 GB, free: 229 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.717, allocations: 337.8 kB / 1.265 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/1.717, allocations: 338.3 kB / 1.265 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009754/1.718, allocations: 485.1 kB / 1.266 GB, free: 228.3 MB / 0.9981 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.007267/1.726, allocations: 3.049 MB / 1.269 GB, free: 227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/1.726, allocations: 2.203 kB / 1.269 GB, free: 227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001935/1.728, allocations: 1.012 MB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.728, allocations: 11.55 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.728, allocations: 2.234 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.728, allocations: 7.406 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/1.729, allocations: 179.5 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.729, allocations: 7.797 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.73, allocations: 87.12 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/1.73, allocations: 33.23 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: 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.0007533/1.731, allocations: 383.8 kB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.731, allocations: 122.2 kB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/1.731, allocations: 148.3 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.731, allocations: 8.5 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-05/1.731, allocations: 4.531 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001554/1.733, allocations: 1.091 MB / 1.272 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/1.738, allocations: 3.05 MB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.738, allocations: 9.094 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/1.739, allocations: 166.2 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/1.739, allocations: 98.86 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/1.74, allocations: 29.33 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.742, allocations: 3.092 MB / 1.278 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.742, allocations: 13.69 kB / 1.278 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/1.744, allocations: 1.736 MB / 1.28 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/1.745, allocations: 312.3 kB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/1.745, allocations: 30.17 kB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.746, allocations: 74.72 kB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.746, allocations: 91.73 kB / 1.28 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.414e-05/1.746, allocations: 46.39 kB / 1.28 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001011/1.747, allocations: 0.6976 MB / 1.281 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.81e-07/1.747, allocations: 1.094 kB / 1.281 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001276/1.748, allocations: 377.7 kB / 1.281 GB, free: 219.3 MB / 0.9981 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.0005427/1.749, allocations: 243.1 kB / 1.281 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.751, allocations: 0.9594 MB / 1.282 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.751, allocations: 4.688 kB / 1.282 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/1.751, allocations: 0.6701 MB / 1.283 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.755, allocations: 0.9262 MB / 1.284 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/1.758, allocations: 3.261 MB / 1.287 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/1.759, allocations: 1.251 MB / 1.288 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001262/1.76, allocations: 337 kB / 1.289 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/1.76, allocations: 99.56 kB / 1.289 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.76, allocations: 0 / 1.289 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03975/1.8, allocations: 28.24 MB / 1.316 GB, free: 187.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches