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.005449/0.005449, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001366/0.001366, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.14 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3159, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9952/1.311, allocations: 209.9 MB / 1.413 GB, free: 15.41 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01574/1.327, allocations: 9.865 MB / 1.422 GB, free: 7.371 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/1.33, allocations: 57.59 kB / 1.422 GB, free: 7.352 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/1.332, allocations: 0.7702 MB / 1.423 GB, free: 6.707 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/1.34, allocations: 2.804 MB / 1.426 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/1.345, allocations: 1.391 MB / 1.427 GB, free: 3.457 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005599/1.35, allocations: 4.061 MB / 1.431 GB, free: 1.125 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/1.352, allocations: 1.324 MB / 1.433 GB, free: 316 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/1.356, allocations: 1.393 MB / 1.434 GB, free: 15.17 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/1.359, allocations: 1.232 MB / 1.435 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004535/1.359, allocations: 144 kB / 1.435 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/1.365, allocations: 2.389 MB / 1.438 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009943/1.366, allocations: 0.6078 MB / 1.438 GB, free: 10.8 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/1.367, allocations: 0.8557 MB / 1.439 GB, free: 9.941 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006019/1.374, allocations: 2.999 MB / 1.442 GB, free: 6.934 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.374, allocations: 0 / 1.442 GB, free: 6.934 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/1.374, allocations: 0 / 1.442 GB, free: 6.934 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.76e-05/1.374, allocations: 8 kB / 1.442 GB, free: 6.926 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.004178/1.378, allocations: 1.896 MB / 1.444 GB, free: 4.973 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.378, allocations: 8.625 kB / 1.444 GB, free: 4.965 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/1.381, allocations: 489.6 kB / 1.444 GB, free: 4.484 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/1.383, allocations: 1.124 MB / 1.445 GB, free: 3.312 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/1.383, allocations: 86.14 kB / 1.445 GB, free: 3.227 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.384, allocations: 115.9 kB / 1.446 GB, free: 3.113 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/1.386, allocations: 1.149 MB / 1.447 GB, free: 1.934 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/1.386, allocations: 0 / 1.447 GB, free: 1.934 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.386, allocations: 51.94 kB / 1.447 GB, free: 1.883 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/1.386, allocations: 38.14 kB / 1.447 GB, free: 1.844 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/1.387, allocations: 1.082 MB / 1.448 GB, free: 0.7539 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.005872/1.393, allocations: 4.198 MB / 1.452 GB, free: 12.28 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.394, allocations: 0.7863 MB / 1.453 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/1.395, allocations: 482.9 kB / 1.453 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/1.396, allocations: 288.3 kB / 1.453 GB, free: 10.68 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.396, allocations: 47.55 kB / 1.453 GB, free: 10.62 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 2.435e-06/1.396, allocations: 4 kB / 1.453 GB, free: 10.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.005412/1.401, allocations: 2.838 MB / 1.456 GB, free: 7.695 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.401, allocations: 60.41 kB / 1.456 GB, free: 7.625 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.402, allocations: 0.9832 MB / 1.457 GB, free: 6.625 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/1.402, allocations: 45.7 kB / 1.457 GB, free: 6.574 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/1.403, allocations: 0.5318 MB / 1.458 GB, free: 6.035 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.403, allocations: 323.3 kB / 1.458 GB, free: 5.715 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/1.403, allocations: 154.6 kB / 1.458 GB, free: 5.555 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.403, allocations: 345.9 kB / 1.459 GB, free: 5.211 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/1.404, allocations: 345.8 kB / 1.459 GB, free: 4.875 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/1.404, allocations: 485.9 kB / 1.459 GB, free: 4.363 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.005809/1.41, allocations: 3.04 MB / 1.462 GB, free: 1.234 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.41, allocations: 0 / 1.462 GB, free: 1.234 MB / 1.139 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001541/1.412, allocations: 1.004 MB / 1.463 GB, free: 232 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.412, allocations: 12.31 kB / 1.463 GB, free: 220 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.412, allocations: 8 kB / 1.463 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.412, allocations: 4 kB / 1.463 GB, free: 208 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/1.413, allocations: 180.9 kB / 1.464 GB, free: 28 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/1.413, allocations: 11.94 kB / 1.464 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.414, allocations: 27.98 kB / 1.464 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/1.414, allocations: 32.05 kB / 1.464 GB, free: 15.96 MB / 1.154 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.0006331/1.415, allocations: 387.5 kB / 1.464 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/1.415, allocations: 130.4 kB / 1.464 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/1.415, allocations: 152.3 kB / 1.464 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.415, allocations: 8 kB / 1.464 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.415, allocations: 4 kB / 1.464 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/1.417, allocations: 1.086 MB / 1.465 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/1.422, allocations: 3.048 MB / 1.468 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.422, allocations: 8 kB / 1.468 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/1.423, allocations: 167.8 kB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/1.423, allocations: 101.6 kB / 1.469 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/1.423, allocations: 28 kB / 1.469 GB, free: 10.58 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/1.426, allocations: 3.087 MB / 1.472 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/1.426, allocations: 15.94 kB / 1.472 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/1.428, allocations: 1.741 MB / 1.473 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/1.429, allocations: 303.5 kB / 1.474 GB, free: 5.004 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.429, allocations: 31.98 kB / 1.474 GB, free: 4.973 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.43, allocations: 42.36 kB / 1.474 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.431, allocations: 88.11 kB / 1.474 GB, free: 4.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/1.431, allocations: 43.98 kB / 1.474 GB, free: 4.805 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001074/1.432, allocations: 0.6995 MB / 1.474 GB, free: 4.098 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.91e-07/1.432, allocations: 0 / 1.474 GB, free: 4.098 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001255/1.433, allocations: 372 kB / 1.475 GB, free: 3.734 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.0005908/1.434, allocations: 240 kB / 1.475 GB, free: 3.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.435, allocations: 0.8476 MB / 1.476 GB, free: 2.652 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.435, allocations: 4 kB / 1.476 GB, free: 2.648 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/1.436, allocations: 0.6699 MB / 1.477 GB, free: 1.953 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/1.44, allocations: 0.9268 MB / 1.477 GB, free: 1.043 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/1.445, allocations: 2.772 MB / 1.48 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.446, allocations: 1.249 MB / 1.481 GB, free: 12.84 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00126/1.447, allocations: 347 kB / 1.482 GB, free: 12.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/1.448, allocations: 99.44 kB / 1.482 GB, free: 12.4 MB / 1.17 GB Notification: Performance of SimCode: time 9.62e-07/1.448, allocations: 0 / 1.482 GB, free: 12.4 MB / 1.17 GB Notification: Performance of Templates: time 0.05098/1.499, allocations: 29.03 MB / 1.51 GB, free: 15.72 MB / 1.201 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