Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008299/0.008299, allocations: 102 kB / 15.73 MB, free: 6.043 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.00173/0.00173, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 63.91 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 1.018/1.302, allocations: 209.9 MB / 1.413 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01528/1.317, allocations: 9.863 MB / 1.422 GB, free: 7.691 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/1.32, allocations: 61.41 kB / 1.422 GB, free: 7.668 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/1.323, allocations: 0.7673 MB / 1.423 GB, free: 7.023 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007958/1.331, allocations: 2.803 MB / 1.426 GB, free: 4.855 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/1.335, allocations: 1.396 MB / 1.427 GB, free: 3.773 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005745/1.34, allocations: 4.062 MB / 1.431 GB, free: 1.441 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/1.342, allocations: 1.328 MB / 1.433 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/1.345, allocations: 1.39 MB / 1.434 GB, free: 15.42 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/1.348, allocations: 1.232 MB / 1.435 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/1.348, allocations: 144 kB / 1.435 GB, free: 14.06 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/1.353, allocations: 2.381 MB / 1.438 GB, free: 11.67 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007029/1.354, allocations: 0.6078 MB / 1.438 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/1.355, allocations: 0.8556 MB / 1.439 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00529/1.361, allocations: 3.003 MB / 1.442 GB, free: 7.191 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.361, allocations: 3.984 kB / 1.442 GB, free: 7.188 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.445e-06/1.361, allocations: 4 kB / 1.442 GB, free: 7.184 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.95e-05/1.361, allocations: 0 / 1.442 GB, free: 7.184 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.003081/1.364, allocations: 1.898 MB / 1.444 GB, free: 5.23 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.364, allocations: 8.625 kB / 1.444 GB, free: 5.223 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/1.367, allocations: 493.6 kB / 1.444 GB, free: 4.738 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/1.369, allocations: 1.124 MB / 1.445 GB, free: 3.566 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/1.369, allocations: 82.14 kB / 1.445 GB, free: 3.484 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.37, allocations: 112 kB / 1.446 GB, free: 3.375 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.372, allocations: 1.149 MB / 1.447 GB, free: 2.195 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/1.372, allocations: 4 kB / 1.447 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.372, allocations: 51.94 kB / 1.447 GB, free: 2.141 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/1.372, allocations: 46.12 kB / 1.447 GB, free: 2.094 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/1.373, allocations: 1.078 MB / 1.448 GB, free: 1.008 MB / 1.123 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.005879/1.379, allocations: 4.188 MB / 1.452 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.381, allocations: 0.7863 MB / 1.453 GB, free: 11.75 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/1.381, allocations: 486.9 kB / 1.453 GB, free: 11.28 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/1.382, allocations: 292.3 kB / 1.453 GB, free: 10.94 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.382, allocations: 51.56 kB / 1.453 GB, free: 10.88 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 3.236e-06/1.382, allocations: 0 / 1.453 GB, free: 10.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.005609/1.387, allocations: 2.84 MB / 1.456 GB, free: 7.945 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/1.387, allocations: 60.41 kB / 1.456 GB, free: 7.875 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/1.389, allocations: 0.9754 MB / 1.457 GB, free: 6.883 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/1.389, allocations: 49.7 kB / 1.457 GB, free: 6.828 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/1.389, allocations: 0.5357 MB / 1.458 GB, free: 6.285 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.39, allocations: 319.3 kB / 1.458 GB, free: 5.969 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.39, allocations: 158.6 kB / 1.458 GB, free: 5.805 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.39, allocations: 337.9 kB / 1.459 GB, free: 5.469 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/1.391, allocations: 345.8 kB / 1.459 GB, free: 5.133 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/1.391, allocations: 485.9 kB / 1.459 GB, free: 4.621 MB / 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.006095/1.397, allocations: 3.044 MB / 1.462 GB, free: 1.488 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.397, allocations: 0 / 1.462 GB, free: 1.488 MB / 1.139 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001624/1.399, allocations: 1.004 MB / 1.463 GB, free: 492 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.399, allocations: 16.3 kB / 1.463 GB, free: 476 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.399, allocations: 4 kB / 1.463 GB, free: 472 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/1.399, allocations: 8 kB / 1.463 GB, free: 464 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/1.4, allocations: 183.7 kB / 1.464 GB, free: 280 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.4, allocations: 11.94 kB / 1.464 GB, free: 268 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/1.401, allocations: 20 kB / 1.464 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/1.401, allocations: 35.98 kB / 1.464 GB, free: 212 kB / 1.139 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.0006443/1.402, allocations: 379.6 kB / 1.464 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.402, allocations: 134.4 kB / 1.464 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/1.402, allocations: 148.3 kB / 1.464 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/1.402, allocations: 12 kB / 1.464 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.402, allocations: 0 / 1.464 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/1.404, allocations: 1.098 MB / 1.465 GB, free: 14.36 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/1.408, allocations: 3.04 MB / 1.468 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.408, allocations: 8.188 kB / 1.468 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/1.409, allocations: 167.7 kB / 1.468 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/1.409, allocations: 101.6 kB / 1.469 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/1.409, allocations: 32 kB / 1.469 GB, free: 10.83 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/1.412, allocations: 3.079 MB / 1.472 GB, free: 7.469 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.412, allocations: 15.88 kB / 1.472 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.414, allocations: 1.741 MB / 1.473 GB, free: 5.578 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/1.414, allocations: 303.5 kB / 1.474 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.415, allocations: 31.98 kB / 1.474 GB, free: 5.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/1.415, allocations: 44.05 kB / 1.474 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.416, allocations: 88.11 kB / 1.474 GB, free: 5.102 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/1.416, allocations: 47.97 kB / 1.474 GB, free: 5.055 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008726/1.417, allocations: 0.6995 MB / 1.474 GB, free: 4.348 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.417, allocations: 0 / 1.474 GB, free: 4.348 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001079/1.418, allocations: 368 kB / 1.475 GB, free: 3.988 MB / 1.154 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.0005299/1.418, allocations: 253.8 kB / 1.475 GB, free: 3.742 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001288/1.419, allocations: 0.8473 MB / 1.476 GB, free: 2.895 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.419, allocations: 0 / 1.476 GB, free: 2.895 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008728/1.42, allocations: 0.6739 MB / 1.477 GB, free: 2.195 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/1.424, allocations: 0.9159 MB / 1.477 GB, free: 1.293 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/1.428, allocations: 2.776 MB / 1.48 GB, free: 14.37 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/1.428, allocations: 1.245 MB / 1.481 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001015/1.429, allocations: 339 kB / 1.482 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/1.43, allocations: 103.4 kB / 1.482 GB, free: 12.65 MB / 1.17 GB Notification: Performance of SimCode: time 5.61e-07/1.43, allocations: 0 / 1.482 GB, free: 12.65 MB / 1.17 GB Notification: Performance of Templates: time 0.04475/1.474, allocations: 28.57 MB / 1.51 GB, free: 436 kB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches