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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001429/0.001429, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 199 kB / 16.79 MB, free: 6.828 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.44 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3488, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9354/1.284, allocations: 207.6 MB / 1.256 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01427/1.299, allocations: 9.953 MB / 1.265 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/1.302, allocations: 51.62 kB / 1.265 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/1.305, allocations: 0.6657 MB / 1.266 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00899/1.314, allocations: 2.647 MB / 1.269 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/1.318, allocations: 1.256 MB / 1.27 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009537/1.328, allocations: 5.636 MB / 1.275 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/1.331, allocations: 1.123 MB / 1.276 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/1.335, allocations: 1.162 MB / 1.277 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/1.34, allocations: 1.287 MB / 1.279 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008577/1.341, allocations: 70.19 kB / 1.279 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008044/1.349, allocations: 2.752 MB / 1.281 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001646/1.351, allocations: 0.5386 MB / 1.282 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003468/1.355, allocations: 0.7792 MB / 1.283 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005261/1.36, allocations: 2.236 MB / 1.285 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.36, allocations: 0 / 1.285 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.36, allocations: 0 / 1.285 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001219/1.36, allocations: 0 / 1.285 GB, free: 1.676 MB / 0.9981 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.006364/1.366, allocations: 1.901 MB / 1.287 GB, free: 16.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.366, allocations: 9.562 kB / 1.287 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/1.37, allocations: 490.9 kB / 1.287 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/1.373, allocations: 1.058 MB / 1.288 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.374, allocations: 89.45 kB / 1.288 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/1.374, allocations: 116.1 kB / 1.289 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/1.377, allocations: 1.162 MB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/1.377, allocations: 3.016 kB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/1.377, allocations: 46.03 kB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.002e-05/1.378, allocations: 42.11 kB / 1.29 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/1.38, allocations: 1.073 MB / 1.291 GB, free: 16.18 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.00759/1.387, allocations: 4.207 MB / 1.295 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.389, allocations: 0.7917 MB / 1.296 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/1.389, allocations: 486.8 kB / 1.296 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/1.39, allocations: 288.5 kB / 1.296 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/1.39, allocations: 47.31 kB / 1.296 GB, free: 14.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.126e-06/1.39, allocations: 0 / 1.296 GB, free: 14.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.006393/1.396, allocations: 2.847 MB / 1.299 GB, free: 13.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.396, allocations: 61.59 kB / 1.299 GB, free: 13.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.398, allocations: 0.9783 MB / 1.3 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.398, allocations: 45.73 kB / 1.3 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/1.398, allocations: 0.5416 MB / 1.301 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/1.398, allocations: 311.9 kB / 1.301 GB, free: 12.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/1.399, allocations: 161 kB / 1.301 GB, free: 12.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.399, allocations: 340 kB / 1.302 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/1.399, allocations: 340.9 kB / 1.302 GB, free: 12.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/1.4, allocations: 487.2 kB / 1.302 GB, free: 12.31 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.005876/1.406, allocations: 3.042 MB / 1.305 GB, free: 11.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/1.406, allocations: 0 / 1.305 GB, free: 11.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00176/1.407, allocations: 1.008 MB / 1.306 GB, free: 11.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.408, allocations: 10.5 kB / 1.306 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.408, allocations: 4.688 kB / 1.306 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.408, allocations: 5.781 kB / 1.306 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/1.408, allocations: 180.5 kB / 1.307 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/1.408, allocations: 8 kB / 1.307 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.41, allocations: 83.8 kB / 1.307 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/1.41, allocations: 35.81 kB / 1.307 GB, free: 11.71 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 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.0007215/1.411, allocations: 376 kB / 1.307 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/1.411, allocations: 126.4 kB / 1.307 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/1.411, allocations: 150.5 kB / 1.307 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.411, allocations: 10.81 kB / 1.307 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/1.411, allocations: 4 kB / 1.307 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/1.413, allocations: 1.098 MB / 1.308 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/1.417, allocations: 3.055 MB / 1.311 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.417, allocations: 8.438 kB / 1.311 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/1.418, allocations: 161 kB / 1.312 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/1.418, allocations: 96.39 kB / 1.312 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/1.418, allocations: 33.66 kB / 1.312 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/1.421, allocations: 2.873 MB / 1.314 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/1.421, allocations: 17.38 kB / 1.314 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/1.423, allocations: 1.729 MB / 1.316 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/1.424, allocations: 307 kB / 1.316 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/1.424, allocations: 32.86 kB / 1.316 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.425, allocations: 85.08 kB / 1.317 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.425, allocations: 84.8 kB / 1.317 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/1.425, allocations: 52.02 kB / 1.317 GB, free: 7.137 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008765/1.426, allocations: 0.691 MB / 1.317 GB, free: 7.027 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.426, allocations: 4 kB / 1.317 GB, free: 7.023 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001236/1.428, allocations: 375.2 kB / 1.318 GB, free: 7.023 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.0005333/1.428, allocations: 245 kB / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001274/1.429, allocations: 0.829 MB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.429, allocations: 1.812 kB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/1.43, allocations: 0.6652 MB / 1.319 GB, free: 6.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/1.434, allocations: 0.8725 MB / 1.32 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/1.439, allocations: 3.327 MB / 1.324 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.44, allocations: 1.246 MB / 1.325 GB, free: 4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/1.441, allocations: 101.8 kB / 1.325 GB, free: 3.992 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.441, allocations: 6.406 kB / 1.325 GB, free: 3.988 MB / 1.014 GB Notification: Performance of Templates: time 0.04106/1.482, allocations: 27.11 MB / 1.351 GB, free: 9.512 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/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