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.005331/0.005331, allocations: 105 kB / 15.74 MB, free: 6.5 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.001199/0.001199, allocations: 201.2 kB / 16.68 MB, free: 6.375 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.594/2.594, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.14 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 151.6 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8683/1.199, allocations: 209.9 MB / 1.372 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.016/1.215, allocations: 9.859 MB / 1.381 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/1.217, allocations: 56.25 kB / 1.381 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/1.22, allocations: 0.7707 MB / 1.382 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008411/1.228, allocations: 2.805 MB / 1.385 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/1.232, allocations: 1.39 MB / 1.386 GB, free: 9.207 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005998/1.238, allocations: 4.06 MB / 1.39 GB, free: 6.871 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/1.241, allocations: 1.322 MB / 1.391 GB, free: 6.051 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/1.243, allocations: 1.364 MB / 1.393 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003015/1.246, allocations: 1.232 MB / 1.394 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/1.247, allocations: 142.8 kB / 1.394 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005386/1.252, allocations: 2.379 MB / 1.396 GB, free: 3.242 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009856/1.253, allocations: 0.6092 MB / 1.397 GB, free: 2.828 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/1.255, allocations: 0.8568 MB / 1.398 GB, free: 2.281 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006239/1.261, allocations: 3.008 MB / 1.401 GB, free: 360 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.261, allocations: 0 / 1.401 GB, free: 360 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/1.261, allocations: 2.094 kB / 1.401 GB, free: 360 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.066e-05/1.262, allocations: 0 / 1.401 GB, free: 360 kB / 1.061 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.004239/1.266, allocations: 1.952 MB / 1.403 GB, free: 14.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.266, allocations: 10.84 kB / 1.403 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/1.269, allocations: 488.6 kB / 1.403 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/1.272, allocations: 1.142 MB / 1.404 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/1.272, allocations: 87.58 kB / 1.404 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/1.272, allocations: 109.4 kB / 1.404 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/1.274, allocations: 1.154 MB / 1.406 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/1.274, allocations: 0 / 1.406 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.274, allocations: 48.38 kB / 1.406 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/1.275, allocations: 45.19 kB / 1.406 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/1.276, allocations: 1.07 MB / 1.407 GB, free: 12.5 MB / 1.076 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.006667/1.283, allocations: 4.211 MB / 1.411 GB, free: 9.102 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.284, allocations: 0.785 MB / 1.412 GB, free: 8.695 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/1.285, allocations: 489 kB / 1.412 GB, free: 8.457 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/1.285, allocations: 303.2 kB / 1.412 GB, free: 8.148 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/1.285, allocations: 44.59 kB / 1.412 GB, free: 8.098 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 3.176e-06/1.285, allocations: 0 / 1.412 GB, free: 8.098 MB / 1.076 GB Notification: Performance of matching and sorting (n=89): time 0.006182/1.292, allocations: 2.859 MB / 1.415 GB, free: 5.309 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.292, allocations: 72.28 kB / 1.415 GB, free: 5.227 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.293, allocations: 0.9754 MB / 1.416 GB, free: 4.234 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/1.293, allocations: 45.7 kB / 1.416 GB, free: 4.184 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.294, allocations: 0.5481 MB / 1.417 GB, free: 3.629 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/1.294, allocations: 325.2 kB / 1.417 GB, free: 3.309 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/1.294, allocations: 154.6 kB / 1.417 GB, free: 3.148 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.295, allocations: 345.9 kB / 1.418 GB, free: 2.805 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/1.295, allocations: 337.8 kB / 1.418 GB, free: 2.477 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/1.296, allocations: 485.9 kB / 1.418 GB, free: 1.965 MB / 1.076 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.006223/1.302, allocations: 3.039 MB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.302, allocations: 0 / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001734/1.304, allocations: 1.016 MB / 1.422 GB, free: 13.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/1.304, allocations: 15.92 kB / 1.422 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.304, allocations: 4 kB / 1.422 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.304, allocations: 4 kB / 1.422 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/1.305, allocations: 183.7 kB / 1.423 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/1.305, allocations: 8.375 kB / 1.423 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.306, allocations: 35.89 kB / 1.423 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/1.306, allocations: 31.98 kB / 1.423 GB, free: 13.54 MB / 1.092 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.0006562/1.307, allocations: 380 kB / 1.423 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/1.307, allocations: 139.2 kB / 1.423 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/1.307, allocations: 148.3 kB / 1.423 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/1.307, allocations: 8 kB / 1.423 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.307, allocations: 4 kB / 1.423 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/1.309, allocations: 1.094 MB / 1.424 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/1.315, allocations: 3.047 MB / 1.427 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.315, allocations: 8 kB / 1.427 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/1.315, allocations: 159.7 kB / 1.427 GB, free: 8.305 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/1.316, allocations: 110.3 kB / 1.428 GB, free: 8.191 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/1.316, allocations: 32 kB / 1.428 GB, free: 8.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/1.319, allocations: 3.09 MB / 1.431 GB, free: 4.793 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.319, allocations: 15.94 kB / 1.431 GB, free: 4.777 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/1.321, allocations: 1.742 MB / 1.432 GB, free: 2.898 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/1.322, allocations: 304.2 kB / 1.433 GB, free: 2.582 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/1.323, allocations: 31.98 kB / 1.433 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.324, allocations: 46.55 kB / 1.433 GB, free: 2.508 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.324, allocations: 92.05 kB / 1.433 GB, free: 2.418 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.324, allocations: 43.97 kB / 1.433 GB, free: 2.375 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001084/1.325, allocations: 0.6956 MB / 1.433 GB, free: 1.672 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.763e-06/1.325, allocations: 0 / 1.433 GB, free: 1.672 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001382/1.326, allocations: 375.9 kB / 1.434 GB, free: 1.305 MB / 1.092 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.0005888/1.327, allocations: 243.2 kB / 1.434 GB, free: 1.066 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.329, allocations: 0.8434 MB / 1.435 GB, free: 228 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.329, allocations: 4.75 kB / 1.435 GB, free: 224 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.33, allocations: 0.6729 MB / 1.436 GB, free: 15.52 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/1.334, allocations: 0.9246 MB / 1.436 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/1.339, allocations: 2.816 MB / 1.439 GB, free: 11.65 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.34, allocations: 1.249 MB / 1.44 GB, free: 10.37 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001369/1.341, allocations: 343 kB / 1.441 GB, free: 10.03 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/1.342, allocations: 103.4 kB / 1.441 GB, free: 9.93 MB / 1.107 GB Notification: Performance of SimCode: time 1.042e-06/1.342, allocations: 0 / 1.441 GB, free: 9.93 MB / 1.107 GB Notification: Performance of Templates: time 0.04703/1.389, allocations: 28.58 MB / 1.469 GB, free: 13.75 MB / 1.139 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=480 -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