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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007215/0.007215, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001552/0.001552, allocations: 195.7 kB / 16.68 MB, free: 5.934 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.37/1.37, 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 12.0.0-master/package.mo): time 2.668/2.668, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 71.89 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8486, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2148/1.063, allocations: 209.9 MB / 1.431 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01655/1.08, allocations: 9.877 MB / 1.44 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/1.083, allocations: 59.62 kB / 1.44 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/1.086, allocations: 0.7765 MB / 1.441 GB, free: 68 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008241/1.094, allocations: 2.796 MB / 1.444 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/1.098, allocations: 1.389 MB / 1.445 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005375/1.103, allocations: 4.073 MB / 1.449 GB, free: 7.793 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/1.105, allocations: 1.317 MB / 1.45 GB, free: 6.441 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/1.108, allocations: 1.366 MB / 1.452 GB, free: 5.07 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/1.111, allocations: 1.23 MB / 1.453 GB, free: 3.844 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002689/1.111, allocations: 144 kB / 1.453 GB, free: 3.703 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/1.117, allocations: 2.389 MB / 1.455 GB, free: 1.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007263/1.117, allocations: 0.6117 MB / 1.456 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/1.119, allocations: 0.8557 MB / 1.457 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005239/1.124, allocations: 3.01 MB / 1.46 GB, free: 12.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.124, allocations: 0 / 1.46 GB, free: 12.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.462e-06/1.124, allocations: 4 kB / 1.46 GB, free: 12.81 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.412e-05/1.124, allocations: 0 / 1.46 GB, free: 12.81 MB / 1.186 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.002968/1.127, allocations: 1.941 MB / 1.462 GB, free: 10.81 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.127, allocations: 8.031 kB / 1.462 GB, free: 10.8 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/1.13, allocations: 0.4946 MB / 1.462 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/1.132, allocations: 1.133 MB / 1.463 GB, free: 9.129 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/1.132, allocations: 86.14 kB / 1.463 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.132, allocations: 108 kB / 1.463 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/1.134, allocations: 1.155 MB / 1.465 GB, free: 7.754 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.134, allocations: 3.938 kB / 1.465 GB, free: 7.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.134, allocations: 48 kB / 1.465 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/1.134, allocations: 38.14 kB / 1.465 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/1.136, allocations: 1.082 MB / 1.466 GB, free: 6.574 MB / 1.186 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.005686/1.142, allocations: 4.201 MB / 1.47 GB, free: 2.094 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.143, allocations: 0.7935 MB / 1.471 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/1.143, allocations: 478.2 kB / 1.471 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/1.144, allocations: 296.3 kB / 1.471 GB, free: 488 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.144, allocations: 43.56 kB / 1.471 GB, free: 432 kB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 4.238e-06/1.144, allocations: 3.984 kB / 1.471 GB, free: 428 kB / 1.186 GB Notification: Performance of matching and sorting (n=89): time 0.005382/1.149, allocations: 2.862 MB / 1.474 GB, free: 13.47 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.149, allocations: 64.41 kB / 1.474 GB, free: 13.39 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.151, allocations: 0.9754 MB / 1.475 GB, free: 12.4 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/1.151, allocations: 49.7 kB / 1.475 GB, free: 12.35 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/1.151, allocations: 0.5481 MB / 1.476 GB, free: 11.79 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/1.151, allocations: 321.2 kB / 1.476 GB, free: 11.48 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.152, allocations: 166.6 kB / 1.476 GB, free: 11.3 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.152, allocations: 338 kB / 1.477 GB, free: 10.97 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/1.152, allocations: 337.8 kB / 1.477 GB, free: 10.64 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/1.153, allocations: 493.9 kB / 1.477 GB, free: 10.12 MB / 1.201 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.005953/1.159, allocations: 3.028 MB / 1.48 GB, free: 7.004 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.159, allocations: 0 / 1.48 GB, free: 7.004 MB / 1.201 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001637/1.161, allocations: 1.024 MB / 1.481 GB, free: 5.977 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.161, allocations: 8 kB / 1.481 GB, free: 5.969 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.161, allocations: 4 kB / 1.481 GB, free: 5.965 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.161, allocations: 4 kB / 1.481 GB, free: 5.961 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/1.161, allocations: 183.7 kB / 1.482 GB, free: 5.781 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.161, allocations: 11.94 kB / 1.482 GB, free: 5.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/1.162, allocations: 32.22 kB / 1.482 GB, free: 5.738 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/1.162, allocations: 40 kB / 1.482 GB, free: 5.699 MB / 1.201 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.0005677/1.163, allocations: 374.1 kB / 1.482 GB, free: 5.324 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/1.163, allocations: 135.1 kB / 1.482 GB, free: 5.191 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/1.164, allocations: 152.2 kB / 1.482 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.164, allocations: 8 kB / 1.482 GB, free: 5.031 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/1.164, allocations: 4 kB / 1.482 GB, free: 5.027 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001499/1.165, allocations: 1.098 MB / 1.483 GB, free: 3.852 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/1.17, allocations: 3.047 MB / 1.486 GB, free: 0.625 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.17, allocations: 8 kB / 1.486 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/1.17, allocations: 159.7 kB / 1.486 GB, free: 472 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/1.171, allocations: 97.66 kB / 1.487 GB, free: 368 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/1.171, allocations: 40.27 kB / 1.487 GB, free: 328 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/1.173, allocations: 3.086 MB / 1.49 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.173, allocations: 20.06 kB / 1.49 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.176, allocations: 1.742 MB / 1.491 GB, free: 11.06 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/1.176, allocations: 308.2 kB / 1.492 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.176, allocations: 35.92 kB / 1.492 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/1.177, allocations: 41.48 kB / 1.492 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.177, allocations: 88.11 kB / 1.492 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.318e-05/1.177, allocations: 43.98 kB / 1.492 GB, free: 10.54 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009173/1.178, allocations: 0.6956 MB / 1.493 GB, free: 9.836 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/1.178, allocations: 0 / 1.493 GB, free: 9.836 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001185/1.18, allocations: 376 kB / 1.493 GB, free: 9.469 MB / 1.217 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.0005629/1.18, allocations: 243.4 kB / 1.493 GB, free: 9.227 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001383/1.182, allocations: 0.8473 MB / 1.494 GB, free: 8.379 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.182, allocations: 7.906 kB / 1.494 GB, free: 8.371 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/1.183, allocations: 0.6686 MB / 1.495 GB, free: 7.676 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.187, allocations: 0.9344 MB / 1.496 GB, free: 6.762 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/1.191, allocations: 2.8 MB / 1.498 GB, free: 3.812 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008671/1.192, allocations: 1.261 MB / 1.499 GB, free: 2.523 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001347/1.193, allocations: 343 kB / 1.5 GB, free: 2.184 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.193, allocations: 95.44 kB / 1.5 GB, free: 2.09 MB / 1.217 GB Notification: Performance of SimCode: time 4.31e-07/1.193, allocations: 0 / 1.5 GB, free: 2.09 MB / 1.217 GB Notification: Performance of Templates: time 0.0475/1.241, allocations: 28.56 MB / 1.528 GB, free: 5.879 MB / 1.248 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