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.0009588/0.0009587, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001029/0.001029, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.426 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.407/2.407, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 15.94 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8427, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2209/1.064, allocations: 191.1 MB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01397/1.078, allocations: 9.268 MB / 1.15 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/1.079, allocations: 47.62 kB / 1.15 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/1.081, allocations: 0.5318 MB / 1.151 GB, free: 6.02 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005868/1.087, allocations: 2.054 MB / 1.153 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/1.09, allocations: 0.9818 MB / 1.154 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006335/1.097, allocations: 4.749 MB / 1.158 GB, free: 14.22 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/1.099, allocations: 0.9612 MB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/1.101, allocations: 1.14 MB / 1.16 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/1.104, allocations: 1.175 MB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/1.104, allocations: 56 kB / 1.162 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003796/1.108, allocations: 1.165 MB / 1.163 GB, free: 9.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007127/1.109, allocations: 0.5063 MB / 1.163 GB, free: 9.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007049/1.11, allocations: 333 kB / 1.164 GB, free: 8.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003398/1.113, allocations: 2.038 MB / 1.165 GB, free: 6.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.113, allocations: 0 / 1.165 GB, free: 6.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/1.113, allocations: 4 kB / 1.165 GB, free: 6.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.36e-05/1.113, allocations: 0 / 1.165 GB, free: 6.805 MB / 0.92 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.002995/1.116, allocations: 1.608 MB / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.116, allocations: 8.031 kB / 1.167 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/1.12, allocations: 0.4897 MB / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/1.122, allocations: 1.027 MB / 1.169 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/1.122, allocations: 82.14 kB / 1.169 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.122, allocations: 108 kB / 1.169 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/1.124, allocations: 1.153 MB / 1.17 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.124, allocations: 0 / 1.17 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.124, allocations: 51.98 kB / 1.17 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/1.124, allocations: 42.12 kB / 1.17 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/1.126, allocations: 1.07 MB / 1.171 GB, free: 1.023 MB / 0.92 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.007826/1.134, allocations: 4.204 MB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/1.136, allocations: 0.786 MB / 1.176 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/1.136, allocations: 482.2 kB / 1.176 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/1.137, allocations: 300.3 kB / 1.177 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.137, allocations: 47.56 kB / 1.177 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.895e-06/1.137, allocations: 0 / 1.177 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89): time 0.006151/1.143, allocations: 2.836 MB / 1.179 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.143, allocations: 64.39 kB / 1.179 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/1.145, allocations: 0.9676 MB / 1.18 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.145, allocations: 41.7 kB / 1.18 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/1.145, allocations: 0.5434 MB / 1.181 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/1.146, allocations: 307.5 kB / 1.181 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/1.146, allocations: 20 kB / 1.181 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.146, allocations: 341.9 kB / 1.182 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/1.146, allocations: 337.8 kB / 1.182 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/1.147, allocations: 485.9 kB / 1.182 GB, free: 4.781 MB / 0.9356 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005011/1.152, allocations: 2.234 MB / 1.185 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.152, allocations: 0 / 1.185 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001831/1.154, allocations: 1.011 MB / 1.186 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.154, allocations: 8 kB / 1.186 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.154, allocations: 0 / 1.186 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/1.154, allocations: 15.89 kB / 1.186 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/1.155, allocations: 176.2 kB / 1.186 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.155, allocations: 15.94 kB / 1.186 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.156, allocations: 79.73 kB / 1.186 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/1.156, allocations: 35.98 kB / 1.186 GB, free: 1.156 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006942/1.157, allocations: 377.5 kB / 1.186 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/1.157, allocations: 130.5 kB / 1.186 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/1.158, allocations: 152.3 kB / 1.187 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.158, allocations: 15.89 kB / 1.187 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.158, allocations: 0 / 1.187 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/1.159, allocations: 1.086 MB / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/1.165, allocations: 3.039 MB / 1.191 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.165, allocations: 12.98 kB / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/1.166, allocations: 163.8 kB / 1.191 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/1.166, allocations: 109.6 kB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/1.166, allocations: 31.94 kB / 1.191 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/1.169, allocations: 2.869 MB / 1.194 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/1.169, allocations: 15.94 kB / 1.194 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/1.172, allocations: 1.729 MB / 1.195 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/1.172, allocations: 311.5 kB / 1.196 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/1.173, allocations: 31.98 kB / 1.196 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.174, allocations: 74.7 kB / 1.196 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.174, allocations: 88.14 kB / 1.196 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.174, allocations: 47.98 kB / 1.196 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009854/1.175, allocations: 0.6839 MB / 1.197 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.175, allocations: 0 / 1.197 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001267/1.176, allocations: 376 kB / 1.197 GB, free: 5.152 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000541/1.177, allocations: 243.2 kB / 1.197 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.178, allocations: 0.8161 MB / 1.198 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.178, allocations: 0.75 kB / 1.198 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/1.179, allocations: 0.6733 MB / 1.199 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/1.183, allocations: 0.8855 MB / 1.2 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/1.188, allocations: 3.271 MB / 1.203 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.19, allocations: 1.253 MB / 1.204 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001584/1.191, allocations: 343 kB / 1.204 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/1.192, allocations: 103.4 kB / 1.204 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of SimCode: time 7.82e-07/1.192, allocations: 0 / 1.204 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Templates: time 0.04532/1.237, allocations: 26.17 MB / 1.23 GB, free: 3.562 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches