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.007551/0.007551, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001608/0.001608, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.424/2.424, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.84 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8283, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2209/1.049, allocations: 209.9 MB / 1.372 GB, free: 1.16 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01462/1.064, allocations: 9.87 MB / 1.381 GB, free: 7.273 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/1.066, allocations: 63.62 kB / 1.381 GB, free: 7.211 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/1.068, allocations: 0.7922 MB / 1.382 GB, free: 6.414 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007407/1.076, allocations: 2.911 MB / 1.385 GB, free: 3.492 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/1.079, allocations: 1.393 MB / 1.386 GB, free: 2.105 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005405/1.085, allocations: 4.07 MB / 1.39 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/1.087, allocations: 1.325 MB / 1.392 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/1.09, allocations: 1.417 MB / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/1.092, allocations: 1.23 MB / 1.394 GB, free: 10.01 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004112/1.093, allocations: 144 kB / 1.394 GB, free: 9.871 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/1.098, allocations: 2.404 MB / 1.397 GB, free: 7.461 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008099/1.098, allocations: 0.6039 MB / 1.397 GB, free: 6.855 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/1.1, allocations: 0.8595 MB / 1.398 GB, free: 5.992 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/1.104, allocations: 3.002 MB / 1.401 GB, free: 2.98 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.104, allocations: 4 kB / 1.401 GB, free: 2.977 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.734e-06/1.104, allocations: 0 / 1.401 GB, free: 2.977 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.104, allocations: 4 kB / 1.401 GB, free: 2.973 MB / 1.123 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.002976/1.107, allocations: 1.947 MB / 1.403 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.107, allocations: 8.031 kB / 1.403 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/1.11, allocations: 498.5 kB / 1.403 GB, free: 484 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/1.112, allocations: 1.144 MB / 1.404 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/1.112, allocations: 86.12 kB / 1.405 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.112, allocations: 108 kB / 1.405 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/1.114, allocations: 1.153 MB / 1.406 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.114, allocations: 7.938 kB / 1.406 GB, free: 13.9 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.115, allocations: 44 kB / 1.406 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/1.115, allocations: 38.14 kB / 1.406 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/1.116, allocations: 1.078 MB / 1.407 GB, free: 12.73 MB / 1.139 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.00592/1.122, allocations: 4.209 MB / 1.411 GB, free: 8.246 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/1.123, allocations: 0.7933 MB / 1.412 GB, free: 7.445 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/1.124, allocations: 478.2 kB / 1.412 GB, free: 6.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/1.125, allocations: 292.3 kB / 1.413 GB, free: 6.641 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.125, allocations: 47.56 kB / 1.413 GB, free: 6.582 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 3.917e-06/1.125, allocations: 4 kB / 1.413 GB, free: 6.578 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.005352/1.13, allocations: 2.866 MB / 1.415 GB, free: 3.625 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.13, allocations: 64.41 kB / 1.415 GB, free: 3.551 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/1.131, allocations: 0.9793 MB / 1.416 GB, free: 2.555 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/1.131, allocations: 41.7 kB / 1.416 GB, free: 2.508 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/1.132, allocations: 0.5481 MB / 1.417 GB, free: 1.953 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/1.132, allocations: 325.2 kB / 1.417 GB, free: 1.633 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.132, allocations: 162.6 kB / 1.417 GB, free: 1.465 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.132, allocations: 338 kB / 1.418 GB, free: 1.129 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/1.133, allocations: 341.8 kB / 1.418 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/1.134, allocations: 485.9 kB / 1.419 GB, free: 292 kB / 1.139 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.005861/1.139, allocations: 3.036 MB / 1.422 GB, free: 13.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.139, allocations: 0 / 1.422 GB, free: 13.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001499/1.141, allocations: 1.02 MB / 1.423 GB, free: 12.13 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.141, allocations: 8.375 kB / 1.423 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.141, allocations: 8 kB / 1.423 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.141, allocations: 8 kB / 1.423 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/1.142, allocations: 175.7 kB / 1.423 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.142, allocations: 8 kB / 1.423 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000924/1.143, allocations: 35.88 kB / 1.423 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/1.143, allocations: 36 kB / 1.423 GB, free: 11.86 MB / 1.154 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.0005561/1.143, allocations: 377.5 kB / 1.423 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/1.143, allocations: 135.1 kB / 1.423 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/1.144, allocations: 152.3 kB / 1.423 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.144, allocations: 8 kB / 1.423 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.144, allocations: 4 kB / 1.423 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/1.145, allocations: 1.094 MB / 1.425 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/1.15, allocations: 3.051 MB / 1.427 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/1.15, allocations: 8 kB / 1.428 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/1.151, allocations: 171.9 kB / 1.428 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/1.151, allocations: 93.66 kB / 1.428 GB, free: 6.512 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/1.151, allocations: 31.98 kB / 1.428 GB, free: 6.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/1.153, allocations: 3.094 MB / 1.431 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.153, allocations: 15.94 kB / 1.431 GB, free: 3.094 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/1.156, allocations: 1.742 MB / 1.433 GB, free: 1.215 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/1.156, allocations: 312.2 kB / 1.433 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.157, allocations: 35.91 kB / 1.433 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/1.157, allocations: 39.94 kB / 1.433 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.158, allocations: 88.11 kB / 1.433 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/1.158, allocations: 43.98 kB / 1.433 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008843/1.159, allocations: 0.6995 MB / 1.434 GB, free: 15.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.159, allocations: 0 / 1.434 GB, free: 15.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00104/1.16, allocations: 376 kB / 1.434 GB, free: 15.62 MB / 1.17 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.0005226/1.16, allocations: 245.7 kB / 1.434 GB, free: 15.38 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00131/1.161, allocations: 0.8436 MB / 1.435 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.161, allocations: 4 kB / 1.435 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/1.162, allocations: 0.67 MB / 1.436 GB, free: 13.84 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/1.166, allocations: 0.918 MB / 1.437 GB, free: 12.93 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/1.17, allocations: 2.808 MB / 1.439 GB, free: 9.973 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.171, allocations: 1.253 MB / 1.441 GB, free: 8.691 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001003/1.172, allocations: 335 kB / 1.441 GB, free: 8.359 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/1.172, allocations: 103.4 kB / 1.441 GB, free: 8.258 MB / 1.17 GB Notification: Performance of SimCode: time 1.803e-06/1.172, allocations: 0 / 1.441 GB, free: 8.258 MB / 1.17 GB Notification: Performance of Templates: time 0.04526/1.217, allocations: 28.59 MB / 1.469 GB, free: 12.02 MB / 1.201 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=480 -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