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.001684/0.001684, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001884/0.001885, allocations: 187 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9004, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2414/1.142, allocations: 209.9 MB / 1.372 GB, free: 1.164 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01513/1.157, allocations: 9.882 MB / 1.382 GB, free: 7.266 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/1.159, allocations: 55.69 kB / 1.382 GB, free: 7.211 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/1.162, allocations: 0.7961 MB / 1.383 GB, free: 6.41 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007908/1.17, allocations: 2.906 MB / 1.386 GB, free: 3.492 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/1.173, allocations: 1.398 MB / 1.387 GB, free: 2.102 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005844/1.179, allocations: 4.076 MB / 1.391 GB, free: 14.01 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/1.181, allocations: 1.325 MB / 1.392 GB, free: 12.65 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/1.184, allocations: 1.421 MB / 1.394 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/1.187, allocations: 1.225 MB / 1.395 GB, free: 10.01 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/1.187, allocations: 148 kB / 1.395 GB, free: 9.863 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/1.192, allocations: 2.397 MB / 1.397 GB, free: 7.461 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007744/1.193, allocations: 0.6077 MB / 1.398 GB, free: 6.852 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/1.195, allocations: 0.8556 MB / 1.399 GB, free: 5.992 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005619/1.2, allocations: 3.003 MB / 1.402 GB, free: 2.98 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.2, allocations: 0 / 1.402 GB, free: 2.98 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.535e-06/1.2, allocations: 0 / 1.402 GB, free: 2.98 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.021e-05/1.2, allocations: 0 / 1.402 GB, free: 2.98 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.003239/1.204, allocations: 1.893 MB / 1.404 GB, free: 1.031 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.204, allocations: 12.03 kB / 1.404 GB, free: 1.02 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/1.207, allocations: 489.6 kB / 1.404 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/1.209, allocations: 1.135 MB / 1.405 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/1.209, allocations: 78.14 kB / 1.405 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.209, allocations: 108 kB / 1.405 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.211, allocations: 1.157 MB / 1.406 GB, free: 13.99 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/1.211, allocations: 3.938 kB / 1.406 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.211, allocations: 47.98 kB / 1.406 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/1.211, allocations: 38.14 kB / 1.407 GB, free: 13.9 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.213, allocations: 1.078 MB / 1.408 GB, free: 12.81 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.005995/1.219, allocations: 4.192 MB / 1.412 GB, free: 8.34 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/1.22, allocations: 0.7974 MB / 1.412 GB, free: 7.535 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/1.221, allocations: 482.2 kB / 1.413 GB, free: 7.066 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/1.221, allocations: 300.3 kB / 1.413 GB, free: 6.719 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.221, allocations: 47.56 kB / 1.413 GB, free: 6.66 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/1.221, allocations: 0 / 1.413 GB, free: 6.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.005571/1.227, allocations: 2.836 MB / 1.416 GB, free: 3.734 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/1.227, allocations: 64.41 kB / 1.416 GB, free: 3.66 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.228, allocations: 0.9832 MB / 1.417 GB, free: 2.66 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/1.228, allocations: 45.7 kB / 1.417 GB, free: 2.609 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/1.229, allocations: 0.5318 MB / 1.418 GB, free: 2.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/1.229, allocations: 315.3 kB / 1.418 GB, free: 1.758 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.229, allocations: 154.6 kB / 1.418 GB, free: 1.598 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.229, allocations: 345.9 kB / 1.418 GB, free: 1.254 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/1.23, allocations: 337.8 kB / 1.419 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/1.231, allocations: 489.9 kB / 1.419 GB, free: 420 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.005787/1.236, allocations: 3.034 MB / 1.422 GB, free: 13.29 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.236, allocations: 0 / 1.422 GB, free: 13.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001552/1.238, allocations: 1.015 MB / 1.423 GB, free: 12.27 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.238, allocations: 4 kB / 1.423 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.238, allocations: 4 kB / 1.423 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.238, allocations: 8 kB / 1.423 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/1.239, allocations: 184.1 kB / 1.423 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.239, allocations: 15.94 kB / 1.423 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/1.24, allocations: 23.98 kB / 1.423 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/1.24, allocations: 32 kB / 1.423 GB, free: 12 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.0006205/1.24, allocations: 386 kB / 1.424 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/1.241, allocations: 134.4 kB / 1.424 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/1.241, allocations: 144.3 kB / 1.424 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.241, allocations: 8 kB / 1.424 GB, free: 11.33 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/1.241, allocations: 0 / 1.424 GB, free: 11.33 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/1.242, allocations: 1.098 MB / 1.425 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/1.248, allocations: 3.047 MB / 1.428 GB, free: 6.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.248, allocations: 12 kB / 1.428 GB, free: 6.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/1.248, allocations: 163.7 kB / 1.428 GB, free: 6.758 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/1.249, allocations: 102.3 kB / 1.428 GB, free: 6.652 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/1.249, allocations: 35.98 kB / 1.428 GB, free: 6.617 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/1.251, allocations: 3.09 MB / 1.431 GB, free: 3.25 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.251, allocations: 11.94 kB / 1.431 GB, free: 3.238 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/1.254, allocations: 1.733 MB / 1.433 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/1.255, allocations: 307.5 kB / 1.433 GB, free: 1.047 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/1.256, allocations: 39.86 kB / 1.433 GB, free: 1.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.257, allocations: 41.11 kB / 1.433 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.257, allocations: 80.11 kB / 1.434 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.257, allocations: 48.11 kB / 1.434 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001261/1.258, allocations: 0.6956 MB / 1.434 GB, free: 144 kB / 1.154 GB Notification: Performance of sort global known variables: time 2.5e-07/1.258, allocations: 0 / 1.434 GB, free: 144 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001561/1.26, allocations: 376 kB / 1.435 GB, free: 15.77 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.0006106/1.261, allocations: 249.1 kB / 1.435 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.262, allocations: 0.8441 MB / 1.436 GB, free: 14.69 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.262, allocations: 0 / 1.436 GB, free: 14.69 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.263, allocations: 0.6729 MB / 1.436 GB, free: 13.99 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/1.268, allocations: 0.921 MB / 1.437 GB, free: 13.08 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/1.273, allocations: 2.841 MB / 1.44 GB, free: 10.09 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.275, allocations: 1.237 MB / 1.441 GB, free: 8.82 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/1.275, allocations: 111.4 kB / 1.441 GB, free: 8.711 MB / 1.17 GB Notification: Performance of SimCode: time 2.154e-06/1.275, allocations: 0 / 1.441 GB, free: 8.711 MB / 1.17 GB Notification: Performance of Templates: time 0.04306/1.318, allocations: 27.24 MB / 1.468 GB, free: 13.61 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches