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.00112/0.00112, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01048/0.01048, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 12.09 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3515, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9642/1.316, allocations: 204.9 MB / 1.259 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01457/1.33, allocations: 9.839 MB / 1.268 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/1.333, allocations: 49.84 kB / 1.268 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/1.335, allocations: 0.6611 MB / 1.269 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007972/1.343, allocations: 2.652 MB / 1.272 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/1.347, allocations: 1.256 MB / 1.273 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00889/1.356, allocations: 5.648 MB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/1.358, allocations: 1.089 MB / 1.279 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/1.362, allocations: 1.126 MB / 1.281 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/1.366, allocations: 1.23 MB / 1.282 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004021/1.366, allocations: 55.84 kB / 1.282 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007369/1.374, allocations: 2.743 MB / 1.284 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/1.375, allocations: 0.5142 MB / 1.285 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002938/1.378, allocations: 0.7755 MB / 1.286 GB, free: 18.31 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007959/1.386, allocations: 3.033 MB / 1.289 GB, free: 18.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.386, allocations: 0 / 1.289 GB, free: 18.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.184e-06/1.386, allocations: 1.469 kB / 1.289 GB, free: 18.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001129/1.386, allocations: 3.938 kB / 1.289 GB, free: 18.16 MB / 1.014 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.005318/1.392, allocations: 1.594 MB / 1.29 GB, free: 17.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.392, allocations: 15.95 kB / 1.29 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/1.396, allocations: 488.4 kB / 1.291 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/1.399, allocations: 1.063 MB / 1.292 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/1.399, allocations: 81.2 kB / 1.292 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/1.4, allocations: 113.8 kB / 1.292 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/1.403, allocations: 1.159 MB / 1.293 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/1.403, allocations: 4.906 kB / 1.293 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.403, allocations: 47.88 kB / 1.293 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/1.403, allocations: 39.64 kB / 1.293 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.405, allocations: 1.073 MB / 1.294 GB, free: 16.7 MB / 1.014 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.007228/1.412, allocations: 4.22 MB / 1.298 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.413, allocations: 0.7852 MB / 1.299 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/1.414, allocations: 479.7 kB / 1.3 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/1.415, allocations: 300.7 kB / 1.3 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.415, allocations: 45.16 kB / 1.3 GB, free: 14.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.346e-06/1.415, allocations: 0 / 1.3 GB, free: 14.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.006794/1.421, allocations: 2.842 MB / 1.303 GB, free: 13.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.421, allocations: 74.12 kB / 1.303 GB, free: 13.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.423, allocations: 0.9751 MB / 1.304 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.423, allocations: 49.73 kB / 1.304 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/1.424, allocations: 0.5408 MB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/1.424, allocations: 310.3 kB / 1.305 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.424, allocations: 80.09 kB / 1.305 GB, free: 13.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.424, allocations: 336.7 kB / 1.305 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/1.425, allocations: 341.5 kB / 1.305 GB, free: 12.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/1.425, allocations: 487.9 kB / 1.306 GB, free: 12.85 MB / 1.014 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.006305/1.432, allocations: 3.05 MB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.432, allocations: 0 / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001723/1.433, allocations: 1.005 MB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.434, allocations: 6.344 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.434, allocations: 3.406 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/1.434, allocations: 11.62 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.434, allocations: 189.4 kB / 1.31 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.434, allocations: 8.562 kB / 1.31 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.436, allocations: 81.11 kB / 1.31 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/1.436, allocations: 33.03 kB / 1.31 GB, free: 12.24 MB / 1.014 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0008198/1.437, allocations: 385.7 kB / 1.31 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/1.437, allocations: 124.1 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/1.438, allocations: 147.8 kB / 1.311 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.438, allocations: 10 kB / 1.311 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/1.438, allocations: 48 / 1.311 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/1.439, allocations: 1.091 MB / 1.312 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005646/1.445, allocations: 3.056 MB / 1.315 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.445, allocations: 8.531 kB / 1.315 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/1.446, allocations: 166.5 kB / 1.315 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/1.446, allocations: 97.78 kB / 1.315 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/1.446, allocations: 31.81 kB / 1.315 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/1.449, allocations: 2.875 MB / 1.318 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.449, allocations: 13.98 kB / 1.318 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/1.451, allocations: 1.739 MB / 1.32 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.452, allocations: 306.9 kB / 1.32 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/1.453, allocations: 29.84 kB / 1.32 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.454, allocations: 81.16 kB / 1.32 GB, free: 7.684 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.454, allocations: 91 kB / 1.32 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/1.454, allocations: 42.64 kB / 1.32 GB, free: 7.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001214/1.456, allocations: 0.6958 MB / 1.321 GB, free: 7.562 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.81e-07/1.456, allocations: 0 / 1.321 GB, free: 7.562 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001706/1.457, allocations: 377.8 kB / 1.321 GB, free: 7.562 MB / 1.014 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.0006543/1.458, allocations: 248.1 kB / 1.321 GB, free: 7.441 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001439/1.46, allocations: 0.8204 MB / 1.322 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.46, allocations: 3.5 kB / 1.322 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009774/1.461, allocations: 0.6696 MB / 1.323 GB, free: 7.195 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006321/1.467, allocations: 0.894 MB / 1.324 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/1.472, allocations: 3.375 MB / 1.327 GB, free: 5.227 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.474, allocations: 1.253 MB / 1.328 GB, free: 4.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001772/1.475, allocations: 339.6 kB / 1.328 GB, free: 4.426 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/1.476, allocations: 102.8 kB / 1.329 GB, free: 4.414 MB / 1.014 GB Notification: Performance of SimCode: time 1.764e-06/1.476, allocations: 0 / 1.329 GB, free: 4.414 MB / 1.014 GB Notification: Performance of Templates: time 0.04713/1.523, allocations: 27.04 MB / 1.355 GB, free: 9.492 MB / 1.029 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