Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001652/0.001652, allocations: 108 kB / 15.61 MB, free: 152 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.001892/0.001892, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002064, allocations: 63.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6593, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2647/0.9241, allocations: 209.9 MB / 1.222 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.9423, allocations: 9.873 MB / 1.232 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.9452, allocations: 63.62 kB / 1.232 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.9477, allocations: 0.7649 MB / 1.233 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008388/0.9561, allocations: 2.805 MB / 1.235 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.9603, allocations: 1.363 MB / 1.237 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006296/0.9667, allocations: 4.064 MB / 1.241 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.9687, allocations: 1.321 MB / 1.242 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.9714, allocations: 1.362 MB / 1.243 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.9741, allocations: 1.231 MB / 1.245 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.9744, allocations: 148 kB / 1.245 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005542/0.9799, allocations: 2.373 MB / 1.247 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007675/0.9807, allocations: 0.6116 MB / 1.248 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.982, allocations: 0.8556 MB / 1.248 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005496/0.9875, allocations: 2.968 MB / 1.251 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9875, allocations: 0 / 1.251 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9875, allocations: 0 / 1.251 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.9876, allocations: 4 kB / 1.251 GB, free: 1.895 MB / 0.9981 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.5549/1.542, allocations: 1.892 MB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.543, allocations: 9.328 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/1.546, allocations: 489 kB / 1.254 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/1.548, allocations: 1.06 MB / 1.255 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/1.548, allocations: 86.53 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/1.549, allocations: 113.9 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.551, allocations: 1.155 MB / 1.256 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.551, allocations: 9.422 kB / 1.256 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.551, allocations: 46.38 kB / 1.256 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/1.551, allocations: 40.98 kB / 1.256 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.553, allocations: 1.075 MB / 1.257 GB, free: 234.3 MB / 0.9981 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.006342/1.559, allocations: 4.223 MB / 1.261 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.561, allocations: 0.7928 MB / 1.262 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/1.561, allocations: 488.6 kB / 1.263 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/1.562, allocations: 296.5 kB / 1.263 GB, free: 231 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.562, allocations: 45.08 kB / 1.263 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.146e-06/1.562, allocations: 1.094 kB / 1.263 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.006124/1.568, allocations: 2.841 MB / 1.266 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.568, allocations: 61.03 kB / 1.266 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/1.57, allocations: 0.9771 MB / 1.267 GB, free: 229 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/1.57, allocations: 47.61 kB / 1.267 GB, free: 229 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/1.57, allocations: 0.5453 MB / 1.267 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/1.57, allocations: 311.5 kB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.571, allocations: 157.9 kB / 1.268 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/1.571, allocations: 341.8 kB / 1.268 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/1.571, allocations: 338 kB / 1.268 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/1.572, allocations: 486.6 kB / 1.269 GB, free: 227.5 MB / 0.9981 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.005931/1.578, allocations: 3.049 MB / 1.272 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.578, allocations: 1.188 kB / 1.272 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001647/1.579, allocations: 1.016 MB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.579, allocations: 8.641 kB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.579, allocations: 3.188 kB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/1.579, allocations: 8.219 kB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/1.58, allocations: 182.8 kB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.58, allocations: 8.359 kB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.581, allocations: 28.92 kB / 1.273 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/1.581, allocations: 29.59 kB / 1.273 GB, free: 225.8 MB / 0.9981 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.0005923/1.582, allocations: 383.9 kB / 1.273 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.582, allocations: 130.3 kB / 1.274 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/1.583, allocations: 148.2 kB / 1.274 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.583, allocations: 11.97 kB / 1.274 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/1.583, allocations: 1.312 kB / 1.274 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/1.584, allocations: 1.095 MB / 1.275 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/1.588, allocations: 3.051 MB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.588, allocations: 8.812 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/1.589, allocations: 163.7 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/1.59, allocations: 104.7 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/1.59, allocations: 28.78 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/1.591, allocations: 3.1 MB / 1.281 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/1.591, allocations: 14.94 kB / 1.281 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/1.594, allocations: 1.727 MB / 1.283 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/1.594, allocations: 301.4 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.594, allocations: 39.83 kB / 1.283 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/1.595, allocations: 48.3 kB / 1.283 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.595, allocations: 90.34 kB / 1.283 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/1.596, allocations: 44.2 kB / 1.283 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007573/1.596, allocations: 0.6956 MB / 1.284 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.596, allocations: 0 / 1.284 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001117/1.597, allocations: 371.8 kB / 1.284 GB, free: 218.3 MB / 0.9981 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.0004846/1.598, allocations: 244.4 kB / 1.285 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001519/1.599, allocations: 0.9583 MB / 1.285 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.599, allocations: 3.969 kB / 1.285 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009946/1.6, allocations: 0.6636 MB / 1.286 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/1.606, allocations: 0.9305 MB / 1.287 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/1.609, allocations: 2.801 MB / 1.29 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/1.61, allocations: 1.257 MB / 1.291 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001315/1.611, allocations: 347 kB / 1.291 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/1.611, allocations: 99.44 kB / 1.291 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.611, allocations: 0 / 1.291 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03948/1.651, allocations: 28.38 MB / 1.319 GB, free: 184.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches