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.001521/0.001521, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001508/0.001507, allocations: 187 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.393/1.393, allocations: 222.9 MB / 241 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.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9241/0.9257, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2621/1.188, allocations: 209.9 MB / 1.294 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01667/1.205, allocations: 9.873 MB / 1.303 GB, free: 1.801 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/1.207, allocations: 63.62 kB / 1.303 GB, free: 1.738 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002729/1.21, allocations: 0.7648 MB / 1.304 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008257/1.218, allocations: 2.804 MB / 1.307 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/1.222, allocations: 1.386 MB / 1.308 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005967/1.228, allocations: 4.076 MB / 1.312 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/1.231, allocations: 1.332 MB / 1.313 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/1.234, allocations: 1.386 MB / 1.315 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/1.237, allocations: 1.237 MB / 1.316 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005984/1.238, allocations: 144 kB / 1.316 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/1.243, allocations: 2.385 MB / 1.318 GB, free: 2.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/1.245, allocations: 0.6039 MB / 1.319 GB, free: 1.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/1.247, allocations: 0.8517 MB / 1.32 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006972/1.254, allocations: 3.007 MB / 1.323 GB, free: 13.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.254, allocations: 0 / 1.323 GB, free: 13.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.254, allocations: 0 / 1.323 GB, free: 13.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.629e-05/1.254, allocations: 4 kB / 1.323 GB, free: 13.69 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.00444/1.258, allocations: 1.889 MB / 1.325 GB, free: 11.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.258, allocations: 12.03 kB / 1.325 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/1.262, allocations: 489.7 kB / 1.325 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/1.264, allocations: 1.131 MB / 1.326 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/1.264, allocations: 82.14 kB / 1.326 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/1.265, allocations: 108 kB / 1.326 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/1.267, allocations: 1.157 MB / 1.328 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/1.267, allocations: 3.938 kB / 1.328 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.267, allocations: 48 kB / 1.328 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/1.267, allocations: 38.14 kB / 1.328 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/1.269, allocations: 1.082 MB / 1.329 GB, free: 7.516 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.006643/1.276, allocations: 4.194 MB / 1.333 GB, free: 3.047 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.277, allocations: 0.7902 MB / 1.334 GB, free: 2.238 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/1.278, allocations: 490.7 kB / 1.334 GB, free: 1.762 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/1.278, allocations: 288.3 kB / 1.334 GB, free: 1.426 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.278, allocations: 47.55 kB / 1.334 GB, free: 1.371 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/1.278, allocations: 8 kB / 1.334 GB, free: 1.363 MB / 1.061 GB Notification: Performance of matching and sorting (n=89): time 0.005939/1.284, allocations: 2.832 MB / 1.337 GB, free: 14.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/1.284, allocations: 60.41 kB / 1.337 GB, free: 14.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/1.286, allocations: 0.9793 MB / 1.338 GB, free: 13.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/1.286, allocations: 53.62 kB / 1.338 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/1.286, allocations: 0.5318 MB / 1.339 GB, free: 12.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/1.286, allocations: 315.4 kB / 1.339 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/1.287, allocations: 154.6 kB / 1.339 GB, free: 12.31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.287, allocations: 341.9 kB / 1.339 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/1.287, allocations: 337.8 kB / 1.34 GB, free: 11.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/1.288, allocations: 485.9 kB / 1.34 GB, free: 11.12 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.005939/1.294, allocations: 3.052 MB / 1.343 GB, free: 7.988 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.294, allocations: 0 / 1.343 GB, free: 7.988 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001648/1.296, allocations: 1.011 MB / 1.344 GB, free: 6.965 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.296, allocations: 4 kB / 1.344 GB, free: 6.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.296, allocations: 4.375 kB / 1.344 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.296, allocations: 12 kB / 1.344 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/1.297, allocations: 179.7 kB / 1.344 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.297, allocations: 8 kB / 1.344 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.298, allocations: 27.98 kB / 1.344 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/1.298, allocations: 35.94 kB / 1.344 GB, free: 6.699 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.000661/1.298, allocations: 381.5 kB / 1.345 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/1.299, allocations: 126.4 kB / 1.345 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/1.299, allocations: 156.3 kB / 1.345 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.299, allocations: 8 kB / 1.345 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.299, allocations: 3.938 kB / 1.345 GB, free: 6.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/1.301, allocations: 1.09 MB / 1.346 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/1.306, allocations: 3.047 MB / 1.349 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.306, allocations: 12.98 kB / 1.349 GB, free: 1.617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/1.307, allocations: 167.7 kB / 1.349 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003542/1.307, allocations: 97.66 kB / 1.349 GB, free: 1.352 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/1.307, allocations: 28 kB / 1.349 GB, free: 1.324 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/1.31, allocations: 3.094 MB / 1.352 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.31, allocations: 11.94 kB / 1.352 GB, free: 13.94 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/1.312, allocations: 1.737 MB / 1.354 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/1.313, allocations: 307.5 kB / 1.354 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/1.313, allocations: 31.94 kB / 1.355 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.314, allocations: 45.41 kB / 1.355 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.314, allocations: 84.11 kB / 1.355 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/1.314, allocations: 47.98 kB / 1.355 GB, free: 11.54 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001031/1.315, allocations: 0.6956 MB / 1.355 GB, free: 10.84 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/1.315, allocations: 4 kB / 1.355 GB, free: 10.83 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001255/1.317, allocations: 372 kB / 1.356 GB, free: 10.47 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.0005615/1.317, allocations: 237.9 kB / 1.356 GB, free: 10.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001494/1.319, allocations: 0.8439 MB / 1.357 GB, free: 9.391 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.319, allocations: 4 kB / 1.357 GB, free: 9.387 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.32, allocations: 0.6736 MB / 1.357 GB, free: 8.691 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/1.324, allocations: 0.9272 MB / 1.358 GB, free: 7.789 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/1.329, allocations: 2.833 MB / 1.361 GB, free: 4.805 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/1.33, allocations: 1.249 MB / 1.362 GB, free: 3.523 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/1.33, allocations: 99.44 kB / 1.362 GB, free: 3.426 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/1.33, allocations: 0 / 1.362 GB, free: 3.426 MB / 1.092 GB Notification: Performance of Templates: time 0.03815/1.368, allocations: 27.24 MB / 1.389 GB, free: 8.336 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches