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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001563/0.001563, allocations: 191.2 kB / 16.14 MB, free: 6.645 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.796, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2409/1.037, allocations: 207.7 MB / 1.152 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01583/1.053, allocations: 9.943 MB / 1.161 GB, free: 7.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/1.055, allocations: 55.62 kB / 1.161 GB, free: 7.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002268/1.058, allocations: 0.6644 MB / 1.162 GB, free: 7.055 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008266/1.066, allocations: 2.649 MB / 1.165 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/1.07, allocations: 1.252 MB / 1.166 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006414/1.076, allocations: 5.64 MB / 1.171 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/1.078, allocations: 1.125 MB / 1.173 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/1.08, allocations: 1.159 MB / 1.174 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/1.083, allocations: 1.275 MB / 1.175 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002853/1.083, allocations: 68 kB / 1.175 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/1.089, allocations: 2.758 MB / 1.178 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007754/1.09, allocations: 0.5374 MB / 1.178 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/1.091, allocations: 0.7814 MB / 1.179 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005225/1.096, allocations: 3.085 MB / 1.182 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.096, allocations: 0 / 1.182 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/1.096, allocations: 0 / 1.182 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.426e-05/1.096, allocations: 0 / 1.182 GB, free: 2.648 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.003164/1.1, allocations: 1.889 MB / 1.184 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.1, allocations: 16.02 kB / 1.184 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/1.103, allocations: 493.6 kB / 1.184 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/1.105, allocations: 1.054 MB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/1.105, allocations: 82.14 kB / 1.185 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/1.105, allocations: 111.9 kB / 1.186 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/1.108, allocations: 1.161 MB / 1.187 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/1.108, allocations: 3.938 kB / 1.187 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.108, allocations: 48 kB / 1.187 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/1.108, allocations: 42.12 kB / 1.187 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/1.11, allocations: 1.078 MB / 1.188 GB, free: 12.54 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.0063/1.116, allocations: 4.204 MB / 1.192 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/1.117, allocations: 0.7901 MB / 1.193 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/1.118, allocations: 486.2 kB / 1.193 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/1.118, allocations: 292.3 kB / 1.193 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.118, allocations: 51.56 kB / 1.193 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/1.118, allocations: 0 / 1.193 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.00584/1.124, allocations: 2.844 MB / 1.196 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/1.124, allocations: 60.41 kB / 1.196 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.126, allocations: 0.9754 MB / 1.197 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.126, allocations: 45.7 kB / 1.197 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/1.126, allocations: 0.5472 MB / 1.198 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/1.126, allocations: 311.4 kB / 1.198 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/1.127, allocations: 158.6 kB / 1.198 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.127, allocations: 341.9 kB / 1.199 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/1.127, allocations: 341.8 kB / 1.199 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/1.128, allocations: 481.9 kB / 1.199 GB, free: 132 kB / 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.006058/1.134, allocations: 3.041 MB / 1.202 GB, free: 13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.134, allocations: 0 / 1.202 GB, free: 13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001804/1.136, allocations: 1.007 MB / 1.203 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.136, allocations: 8.375 kB / 1.203 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.136, allocations: 4 kB / 1.203 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/1.136, allocations: 8 kB / 1.203 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/1.137, allocations: 183.7 kB / 1.204 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.137, allocations: 11.94 kB / 1.204 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.138, allocations: 75.7 kB / 1.204 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/1.138, allocations: 35.98 kB / 1.204 GB, free: 11.67 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 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.0006103/1.139, allocations: 373.5 kB / 1.204 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.139, allocations: 138.4 kB / 1.204 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/1.139, allocations: 144.2 kB / 1.204 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.139, allocations: 12 kB / 1.204 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.139, allocations: 0 / 1.204 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/1.141, allocations: 1.105 MB / 1.205 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/1.145, allocations: 3.044 MB / 1.208 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.145, allocations: 11.98 kB / 1.208 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.146, allocations: 155.8 kB / 1.208 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/1.147, allocations: 101.6 kB / 1.209 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/1.147, allocations: 32 kB / 1.209 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/1.149, allocations: 2.877 MB / 1.211 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.149, allocations: 11.94 kB / 1.211 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/1.151, allocations: 1.733 MB / 1.213 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.152, allocations: 303.5 kB / 1.213 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/1.152, allocations: 31.98 kB / 1.213 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/1.153, allocations: 77.67 kB / 1.214 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.153, allocations: 84.11 kB / 1.214 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/1.153, allocations: 43.98 kB / 1.214 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009092/1.154, allocations: 0.6956 MB / 1.214 GB, free: 24 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/1.154, allocations: 0 / 1.214 GB, free: 24 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001152/1.156, allocations: 388 kB / 1.215 GB, free: 15.64 MB / 0.9825 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.000502/1.156, allocations: 252.4 kB / 1.215 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.157, allocations: 0.8246 MB / 1.216 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.157, allocations: 11.91 kB / 1.216 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.158, allocations: 0.6617 MB / 1.216 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/1.163, allocations: 0.8889 MB / 1.217 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/1.168, allocations: 3.259 MB / 1.22 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.169, allocations: 1.253 MB / 1.222 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001402/1.17, allocations: 335 kB / 1.222 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.17, allocations: 103.4 kB / 1.222 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/1.17, allocations: 0 / 1.222 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.5081/1.678, allocations: 27.14 MB / 1.249 GB, free: 282.4 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/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