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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009544/0.0009544, 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.00103/0.00103, 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.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 12.41 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2828, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1961/0.479, allocations: 191.1 MB / 1.245 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5461/1.025, allocations: 9.253 MB / 1.254 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/1.027, allocations: 51.12 kB / 1.254 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/1.028, allocations: 0.5312 MB / 1.254 GB, free: 6.832 MB / 0.9981 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.005123/1.033, allocations: 2.053 MB / 1.256 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/1.036, allocations: 0.9803 MB / 1.257 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005476/1.042, allocations: 4.743 MB / 1.262 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/1.043, allocations: 0.9569 MB / 1.263 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/1.045, allocations: 1.142 MB / 1.264 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/1.047, allocations: 1.171 MB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.047, allocations: 55.34 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/1.05, allocations: 1.166 MB / 1.266 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007071/1.051, allocations: 0.5076 MB / 1.267 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008261/1.052, allocations: 334.1 kB / 1.267 GB, free: 22.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/1.055, allocations: 2.049 MB / 1.269 GB, free: 22.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.055, allocations: 0.6562 kB / 1.269 GB, free: 22.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/1.055, allocations: 0 / 1.269 GB, free: 22.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.794e-05/1.055, allocations: 0 / 1.269 GB, free: 22.41 MB / 1.014 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.003311/1.058, allocations: 1.604 MB / 1.271 GB, free: 21.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.058, allocations: 8.688 kB / 1.271 GB, free: 21.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/1.062, allocations: 495.8 kB / 1.271 GB, free: 21.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/1.064, allocations: 1.024 MB / 1.272 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/1.064, allocations: 87.3 kB / 1.272 GB, free: 21.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.064, allocations: 116 kB / 1.272 GB, free: 21.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/1.067, allocations: 1.143 MB / 1.273 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/1.067, allocations: 4.938 kB / 1.273 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.067, allocations: 47.03 kB / 1.273 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/1.067, allocations: 41.83 kB / 1.274 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/1.069, allocations: 1.065 MB / 1.275 GB, free: 20.99 MB / 1.014 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.005892/1.075, allocations: 4.222 MB / 1.279 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.076, allocations: 0.7794 MB / 1.279 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/1.077, allocations: 478.2 kB / 1.28 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/1.077, allocations: 300 kB / 1.28 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.077, allocations: 45.28 kB / 1.28 GB, free: 18.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.625e-06/1.077, allocations: 0 / 1.28 GB, free: 18.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005512/1.083, allocations: 2.838 MB / 1.283 GB, free: 18.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.083, allocations: 60.34 kB / 1.283 GB, free: 18.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.084, allocations: 0.9648 MB / 1.284 GB, free: 18.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/1.084, allocations: 53.17 kB / 1.284 GB, free: 18.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/1.084, allocations: 0.5375 MB / 1.285 GB, free: 17.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/1.085, allocations: 314 kB / 1.285 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/1.085, allocations: 18.69 kB / 1.285 GB, free: 17.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.085, allocations: 338.5 kB / 1.285 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/1.085, allocations: 337.7 kB / 1.286 GB, free: 17.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/1.086, allocations: 484.2 kB / 1.286 GB, free: 17.19 MB / 1.014 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.004583/1.091, allocations: 2.242 MB / 1.288 GB, free: 16.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.091, allocations: 5.188 kB / 1.288 GB, free: 16.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001601/1.092, allocations: 1.006 MB / 1.289 GB, free: 16.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.092, allocations: 10.39 kB / 1.289 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.092, allocations: 4.562 kB / 1.289 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.092, allocations: 11.25 kB / 1.289 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/1.093, allocations: 180 kB / 1.289 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.093, allocations: 9.5 kB / 1.289 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.094, allocations: 78.09 kB / 1.289 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/1.094, allocations: 30.53 kB / 1.289 GB, free: 16.71 MB / 1.014 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.0006735/1.095, allocations: 386.8 kB / 1.29 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.095, allocations: 130.6 kB / 1.29 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/1.095, allocations: 149.1 kB / 1.29 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.095, allocations: 9.5 kB / 1.29 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.095, allocations: 4.391 kB / 1.29 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/1.097, allocations: 1.081 MB / 1.291 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/1.101, allocations: 3.047 MB / 1.294 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.101, allocations: 15.59 kB / 1.294 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/1.102, allocations: 160.7 kB / 1.294 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/1.102, allocations: 98.16 kB / 1.294 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/1.103, allocations: 35.56 kB / 1.294 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/1.105, allocations: 2.874 MB / 1.297 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.105, allocations: 12.78 kB / 1.297 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/1.107, allocations: 1.734 MB / 1.299 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/1.108, allocations: 304.6 kB / 1.299 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.108, allocations: 29.59 kB / 1.299 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/1.109, allocations: 82.91 kB / 1.299 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.109, allocations: 93.84 kB / 1.299 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/1.109, allocations: 46.16 kB / 1.3 GB, free: 12.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009206/1.11, allocations: 0.6833 MB / 1.3 GB, free: 12.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.11, allocations: 0 / 1.3 GB, free: 12.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001314/1.111, allocations: 378.7 kB / 1.301 GB, free: 12.02 MB / 1.014 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.0004635/1.112, allocations: 240.5 kB / 1.301 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001248/1.113, allocations: 0.8211 MB / 1.302 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.113, allocations: 6.969 kB / 1.302 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/1.114, allocations: 0.6577 MB / 1.302 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/1.118, allocations: 0.8929 MB / 1.303 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/1.121, allocations: 3.267 MB / 1.306 GB, free: 9.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/1.122, allocations: 1.251 MB / 1.308 GB, free: 9.102 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00135/1.123, allocations: 343 kB / 1.308 GB, free: 9.023 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.124, allocations: 99.08 kB / 1.308 GB, free: 9.016 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.124, allocations: 4 kB / 1.308 GB, free: 9.012 MB / 1.014 GB Notification: Performance of Templates: time 0.03949/1.163, allocations: 26.18 MB / 1.333 GB, free: 0.8047 MB / 1.014 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