Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009037/0.0009036, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001158, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003677, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7646, allocations: 142.4 MB / 0.9557 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2336/0.9982, allocations: 204.9 MB / 1.156 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0161/1.014, allocations: 9.851 MB / 1.165 GB, free: 7.91 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/1.017, allocations: 47.69 kB / 1.165 GB, free: 7.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/1.019, allocations: 0.6528 MB / 1.166 GB, free: 7.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/1.027, allocations: 2.654 MB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/1.031, allocations: 1.25 MB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007312/1.038, allocations: 5.646 MB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/1.04, allocations: 1.099 MB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/1.043, allocations: 1.128 MB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/1.047, allocations: 1.221 MB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000487/1.048, allocations: 56 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/1.053, allocations: 2.735 MB / 1.181 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/1.054, allocations: 0.518 MB / 1.182 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00179/1.056, allocations: 0.7753 MB / 1.183 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/1.06, allocations: 2.206 MB / 1.185 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.06, allocations: 4 kB / 1.185 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.314e-06/1.06, allocations: 0 / 1.185 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.883e-05/1.06, allocations: 0 / 1.185 GB, free: 3.84 MB / 0.9356 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.002886/1.063, allocations: 1.586 MB / 1.186 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.063, allocations: 8.031 kB / 1.186 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/1.066, allocations: 0.4898 MB / 1.187 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/1.068, allocations: 1.054 MB / 1.188 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.068, allocations: 86.14 kB / 1.188 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/1.068, allocations: 108 kB / 1.188 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/1.07, allocations: 1.157 MB / 1.189 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.07, allocations: 7.938 kB / 1.189 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.07, allocations: 44 kB / 1.189 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/1.07, allocations: 42.12 kB / 1.189 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.072, allocations: 1.074 MB / 1.19 GB, free: 14.05 MB / 0.9512 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.005946/1.078, allocations: 4.223 MB / 1.195 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/1.079, allocations: 0.79 MB / 1.195 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/1.08, allocations: 482.2 kB / 1.196 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/1.08, allocations: 300.3 kB / 1.196 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.08, allocations: 43.56 kB / 1.196 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.395e-06/1.08, allocations: 0 / 1.196 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005687/1.086, allocations: 2.848 MB / 1.199 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/1.086, allocations: 68.33 kB / 1.199 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.088, allocations: 0.9793 MB / 1.2 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/1.088, allocations: 41.7 kB / 1.2 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/1.088, allocations: 0.5396 MB / 1.2 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/1.088, allocations: 311.3 kB / 1.201 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.089, allocations: 81.61 kB / 1.201 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.089, allocations: 341.9 kB / 1.201 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/1.089, allocations: 337.8 kB / 1.201 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/1.09, allocations: 485.9 kB / 1.202 GB, free: 1.688 MB / 0.9512 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.006114/1.096, allocations: 3.051 MB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.096, allocations: 0 / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001677/1.098, allocations: 1.015 MB / 1.206 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.098, allocations: 8 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.098, allocations: 4 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.098, allocations: 8 kB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/1.099, allocations: 176.1 kB / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/1.099, allocations: 12 kB / 1.206 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.1, allocations: 79.7 kB / 1.206 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/1.1, allocations: 31.98 kB / 1.206 GB, free: 13.22 MB / 0.9669 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.0007045/1.101, allocations: 377.5 kB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/1.101, allocations: 130.6 kB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/1.102, allocations: 156.2 kB / 1.207 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.102, allocations: 8 kB / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.102, allocations: 0 / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/1.103, allocations: 1.098 MB / 1.208 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/1.108, allocations: 3.044 MB / 1.211 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.108, allocations: 12 kB / 1.211 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/1.109, allocations: 167.7 kB / 1.211 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/1.11, allocations: 105.7 kB / 1.211 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/1.11, allocations: 28 kB / 1.211 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/1.112, allocations: 2.869 MB / 1.214 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-05/1.112, allocations: 11.94 kB / 1.214 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/1.115, allocations: 1.741 MB / 1.216 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/1.115, allocations: 299.5 kB / 1.216 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.116, allocations: 35.98 kB / 1.216 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.117, allocations: 78.7 kB / 1.216 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.117, allocations: 84.11 kB / 1.216 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.117, allocations: 47.98 kB / 1.216 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001027/1.118, allocations: 0.6917 MB / 1.217 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.118, allocations: 0 / 1.217 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001298/1.119, allocations: 384 kB / 1.217 GB, free: 1.195 MB / 0.9669 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.000579/1.12, allocations: 253.1 kB / 1.218 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.121, allocations: 0.8239 MB / 1.218 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.121, allocations: 0.75 kB / 1.218 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.122, allocations: 0.6768 MB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005923/1.128, allocations: 0.897 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/1.134, allocations: 3.44 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.135, allocations: 1.253 MB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/1.135, allocations: 107.4 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of SimCode: time 8.52e-07/1.135, allocations: 0 / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.5715/1.707, allocations: 26.9 MB / 1.251 GB, free: 280.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches