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.007636/0.007636, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001669/0.001669, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.244/2.244, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9178/0.9193, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2474/1.167, allocations: 209.9 MB / 1.293 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01479/1.182, allocations: 9.869 MB / 1.303 GB, free: 1.797 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/1.184, allocations: 63.62 kB / 1.303 GB, free: 1.734 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/1.186, allocations: 0.7922 MB / 1.303 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007347/1.193, allocations: 2.917 MB / 1.306 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003628/1.197, allocations: 1.397 MB / 1.308 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005448/1.202, allocations: 4.076 MB / 1.312 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/1.204, allocations: 1.328 MB / 1.313 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/1.208, allocations: 1.409 MB / 1.314 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003191/1.211, allocations: 1.242 MB / 1.315 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006577/1.212, allocations: 144 kB / 1.316 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006822/1.219, allocations: 2.404 MB / 1.318 GB, free: 1.969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001231/1.22, allocations: 0.6039 MB / 1.319 GB, free: 1.363 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002463/1.222, allocations: 0.8595 MB / 1.319 GB, free: 0.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00839/1.231, allocations: 3.006 MB / 1.322 GB, free: 13.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.231, allocations: 4 kB / 1.322 GB, free: 13.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.335e-06/1.231, allocations: 0 / 1.322 GB, free: 13.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001017/1.231, allocations: 0 / 1.322 GB, free: 13.48 MB / 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.004723/1.236, allocations: 1.945 MB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.236, allocations: 12.03 kB / 1.324 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/1.24, allocations: 494.5 kB / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/1.242, allocations: 1.133 MB / 1.326 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/1.242, allocations: 86.12 kB / 1.326 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/1.243, allocations: 116 kB / 1.326 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/1.245, allocations: 1.157 MB / 1.327 GB, free: 8.414 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/1.245, allocations: 3.938 kB / 1.327 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.245, allocations: 44 kB / 1.327 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/1.245, allocations: 42.14 kB / 1.327 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/1.247, allocations: 1.07 MB / 1.328 GB, free: 7.246 MB / 1.061 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.006737/1.254, allocations: 4.205 MB / 1.332 GB, free: 2.766 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/1.255, allocations: 0.8015 MB / 1.333 GB, free: 1.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/1.256, allocations: 482.8 kB / 1.334 GB, free: 1.477 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/1.256, allocations: 288.3 kB / 1.334 GB, free: 1.141 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.256, allocations: 47.55 kB / 1.334 GB, free: 1.086 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.435e-06/1.256, allocations: 0 / 1.334 GB, free: 1.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=89): time 0.005895/1.262, allocations: 2.87 MB / 1.337 GB, free: 14.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.262, allocations: 64.41 kB / 1.337 GB, free: 14.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/1.264, allocations: 0.9793 MB / 1.338 GB, free: 13.06 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.27e-05/1.264, allocations: 49.7 kB / 1.338 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/1.264, allocations: 0.5482 MB / 1.338 GB, free: 12.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/1.265, allocations: 321.2 kB / 1.339 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/1.265, allocations: 158.6 kB / 1.339 GB, free: 11.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.265, allocations: 337.9 kB / 1.339 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/1.265, allocations: 341.8 kB / 1.339 GB, free: 11.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/1.266, allocations: 485.9 kB / 1.34 GB, free: 10.79 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.006217/1.272, allocations: 3.042 MB / 1.343 GB, free: 7.664 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.272, allocations: 4 kB / 1.343 GB, free: 7.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001709/1.274, allocations: 1.027 MB / 1.344 GB, free: 6.621 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.274, allocations: 4 kB / 1.344 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.274, allocations: 4 kB / 1.344 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.274, allocations: 8 kB / 1.344 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/1.275, allocations: 183.7 kB / 1.344 GB, free: 6.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.275, allocations: 4 kB / 1.344 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.276, allocations: 36.3 kB / 1.344 GB, free: 6.387 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/1.276, allocations: 32 kB / 1.344 GB, free: 6.355 MB / 1.076 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.0007131/1.277, allocations: 377.5 kB / 1.344 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/1.277, allocations: 135.1 kB / 1.345 GB, free: 5.844 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/1.278, allocations: 148.3 kB / 1.345 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.278, allocations: 12 kB / 1.345 GB, free: 5.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.278, allocations: 0 / 1.345 GB, free: 5.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/1.279, allocations: 1.098 MB / 1.346 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/1.285, allocations: 3.051 MB / 1.349 GB, free: 1.277 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.285, allocations: 8 kB / 1.349 GB, free: 1.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/1.285, allocations: 163.7 kB / 1.349 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/1.286, allocations: 94.09 kB / 1.349 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/1.286, allocations: 32 kB / 1.349 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/1.289, allocations: 3.094 MB / 1.352 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.289, allocations: 15.94 kB / 1.352 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/1.291, allocations: 1.734 MB / 1.354 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/1.292, allocations: 312.2 kB / 1.354 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/1.292, allocations: 39.92 kB / 1.354 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.294, allocations: 41 kB / 1.354 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.294, allocations: 84.17 kB / 1.354 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.294, allocations: 55.86 kB / 1.354 GB, free: 11.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001069/1.295, allocations: 0.6956 MB / 1.355 GB, free: 10.48 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.61e-07/1.295, allocations: 0 / 1.355 GB, free: 10.48 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001494/1.296, allocations: 372 kB / 1.355 GB, free: 10.11 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.0006121/1.297, allocations: 236.1 kB / 1.356 GB, free: 9.883 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001541/1.299, allocations: 0.8434 MB / 1.356 GB, free: 9.039 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.299, allocations: 7.938 kB / 1.356 GB, free: 9.031 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.3, allocations: 0.6664 MB / 1.357 GB, free: 8.344 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/1.304, allocations: 0.9328 MB / 1.358 GB, free: 7.434 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/1.309, allocations: 2.812 MB / 1.361 GB, free: 4.473 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.31, allocations: 1.249 MB / 1.362 GB, free: 3.191 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00133/1.312, allocations: 343 kB / 1.362 GB, free: 2.852 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/1.312, allocations: 99.44 kB / 1.362 GB, free: 2.754 MB / 1.092 GB Notification: Performance of SimCode: time 9.72e-07/1.312, allocations: 0 / 1.362 GB, free: 2.754 MB / 1.092 GB Notification: Performance of Templates: time 0.04783/1.36, allocations: 28.56 MB / 1.39 GB, free: 6.59 MB / 1.123 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