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.001272/0.001272, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.001149/0.001149, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 71.84 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9703/0.9718, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2437/1.216, allocations: 209.9 MB / 1.413 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01681/1.232, allocations: 9.884 MB / 1.423 GB, free: 1.023 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/1.235, allocations: 59.62 kB / 1.423 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002941/1.238, allocations: 0.7648 MB / 1.424 GB, free: 200 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008741/1.247, allocations: 2.804 MB / 1.427 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/1.251, allocations: 1.387 MB / 1.428 GB, free: 12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006429/1.258, allocations: 4.065 MB / 1.432 GB, free: 7.922 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/1.26, allocations: 1.325 MB / 1.433 GB, free: 6.566 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/1.264, allocations: 1.389 MB / 1.435 GB, free: 5.172 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/1.267, allocations: 1.223 MB / 1.436 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006658/1.268, allocations: 148 kB / 1.436 GB, free: 3.809 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006882/1.274, allocations: 2.385 MB / 1.438 GB, free: 1.418 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001262/1.276, allocations: 0.6039 MB / 1.439 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002286/1.278, allocations: 0.8596 MB / 1.44 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007185/1.285, allocations: 3.007 MB / 1.443 GB, free: 12.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.285, allocations: 0 / 1.443 GB, free: 12.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.994e-06/1.285, allocations: 0 / 1.443 GB, free: 12.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.897e-05/1.285, allocations: 0 / 1.443 GB, free: 12.93 MB / 1.17 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.004836/1.29, allocations: 1.893 MB / 1.444 GB, free: 10.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.29, allocations: 12.03 kB / 1.444 GB, free: 10.97 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/1.294, allocations: 485.6 kB / 1.445 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/1.297, allocations: 1.132 MB / 1.446 GB, free: 9.316 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/1.297, allocations: 86.12 kB / 1.446 GB, free: 9.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/1.297, allocations: 108 kB / 1.446 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/1.3, allocations: 1.153 MB / 1.447 GB, free: 7.941 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/1.3, allocations: 3.938 kB / 1.447 GB, free: 7.938 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/1.3, allocations: 48 kB / 1.447 GB, free: 7.891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/1.3, allocations: 38.14 kB / 1.447 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/1.302, allocations: 1.074 MB / 1.448 GB, free: 6.77 MB / 1.17 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.007367/1.309, allocations: 4.196 MB / 1.453 GB, free: 2.293 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.311, allocations: 0.79 MB / 1.453 GB, free: 1.5 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/1.311, allocations: 483.3 kB / 1.454 GB, free: 1.031 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/1.312, allocations: 292.3 kB / 1.454 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.312, allocations: 47.5 kB / 1.454 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 3.016e-06/1.312, allocations: 7.938 kB / 1.454 GB, free: 0.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=89): time 0.006269/1.318, allocations: 2.84 MB / 1.457 GB, free: 13.7 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.318, allocations: 68.39 kB / 1.457 GB, free: 13.61 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.32, allocations: 0.9793 MB / 1.458 GB, free: 12.62 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.32, allocations: 45.7 kB / 1.458 GB, free: 12.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/1.321, allocations: 0.5318 MB / 1.458 GB, free: 12.03 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/1.321, allocations: 319.3 kB / 1.459 GB, free: 11.71 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/1.321, allocations: 158.6 kB / 1.459 GB, free: 11.55 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.321, allocations: 334 kB / 1.459 GB, free: 11.22 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/1.322, allocations: 341.8 kB / 1.46 GB, free: 10.88 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/1.323, allocations: 497.9 kB / 1.46 GB, free: 10.36 MB / 1.186 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.006297/1.329, allocations: 3.04 MB / 1.463 GB, free: 7.23 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.329, allocations: 0 / 1.463 GB, free: 7.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001754/1.331, allocations: 1.007 MB / 1.464 GB, free: 6.215 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.331, allocations: 4 kB / 1.464 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.331, allocations: 4 kB / 1.464 GB, free: 6.207 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/1.331, allocations: 8 kB / 1.464 GB, free: 6.199 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/1.332, allocations: 184.1 kB / 1.464 GB, free: 6.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/1.332, allocations: 15.98 kB / 1.464 GB, free: 6.004 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.333, allocations: 20 kB / 1.464 GB, free: 5.984 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/1.333, allocations: 35.98 kB / 1.464 GB, free: 5.949 MB / 1.186 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.0006885/1.334, allocations: 382 kB / 1.465 GB, free: 5.566 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/1.334, allocations: 126.4 kB / 1.465 GB, free: 5.441 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/1.334, allocations: 152.3 kB / 1.465 GB, free: 5.285 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.334, allocations: 8 kB / 1.465 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.334, allocations: 0 / 1.465 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/1.336, allocations: 1.101 MB / 1.466 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/1.341, allocations: 3.039 MB / 1.469 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.341, allocations: 8 kB / 1.469 GB, free: 0.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/1.342, allocations: 167.7 kB / 1.469 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/1.343, allocations: 102.3 kB / 1.469 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/1.343, allocations: 31.98 kB / 1.469 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/1.345, allocations: 3.09 MB / 1.472 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.345, allocations: 11.94 kB / 1.472 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/1.348, allocations: 1.737 MB / 1.474 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/1.349, allocations: 307.5 kB / 1.474 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.349, allocations: 35.92 kB / 1.474 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.35, allocations: 38.61 kB / 1.474 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.351, allocations: 84.11 kB / 1.474 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.351, allocations: 48.12 kB / 1.474 GB, free: 10.8 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001223/1.352, allocations: 0.7033 MB / 1.475 GB, free: 10.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.352, allocations: 0 / 1.475 GB, free: 10.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001457/1.353, allocations: 372 kB / 1.476 GB, free: 9.723 MB / 1.201 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.000641/1.354, allocations: 247.5 kB / 1.476 GB, free: 9.48 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.356, allocations: 0.8363 MB / 1.477 GB, free: 8.645 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.356, allocations: 4 kB / 1.477 GB, free: 8.641 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.357, allocations: 0.6728 MB / 1.477 GB, free: 7.945 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/1.361, allocations: 0.9231 MB / 1.478 GB, free: 7.043 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/1.366, allocations: 2.836 MB / 1.481 GB, free: 4.055 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.367, allocations: 1.249 MB / 1.482 GB, free: 2.777 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.368, allocations: 103.4 kB / 1.482 GB, free: 2.676 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/1.368, allocations: 0 / 1.482 GB, free: 2.676 MB / 1.201 GB Notification: Performance of Templates: time 0.04269/1.411, allocations: 27.23 MB / 1.509 GB, free: 7.574 MB / 1.232 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches