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.008257/0.008256, allocations: 101.5 kB / 15.73 MB, free: 5.992 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.001679/0.001679, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 66.7 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9098/1.22, allocations: 209.9 MB / 1.293 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01559/1.235, allocations: 9.856 MB / 1.303 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003394/1.239, allocations: 60.16 kB / 1.303 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/1.242, allocations: 0.7773 MB / 1.303 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009071/1.251, allocations: 2.803 MB / 1.306 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/1.255, allocations: 1.391 MB / 1.307 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007627/1.263, allocations: 4.062 MB / 1.311 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/1.266, allocations: 1.326 MB / 1.313 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/1.271, allocations: 1.367 MB / 1.314 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/1.275, allocations: 1.236 MB / 1.315 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008743/1.276, allocations: 143.5 kB / 1.315 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007673/1.284, allocations: 2.381 MB / 1.318 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/1.285, allocations: 0.6068 MB / 1.318 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003006/1.288, allocations: 0.8568 MB / 1.319 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007742/1.296, allocations: 2.997 MB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.296, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.296, allocations: 0.9375 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001302/1.296, allocations: 0 / 1.322 GB, free: 2.199 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.006365/1.302, allocations: 1.898 MB / 1.324 GB, free: 1.262 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.302, allocations: 12.03 kB / 1.324 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/1.306, allocations: 488.3 kB / 1.324 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/1.31, allocations: 1.135 MB / 1.325 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/1.31, allocations: 87.3 kB / 1.326 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/1.311, allocations: 112.9 kB / 1.326 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/1.314, allocations: 1.152 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/1.314, allocations: 2 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/1.314, allocations: 42.97 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/1.314, allocations: 46.14 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/1.317, allocations: 1.075 MB / 1.328 GB, free: 0.6992 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.008332/1.325, allocations: 4.194 MB / 1.332 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/1.326, allocations: 0.7879 MB / 1.333 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/1.327, allocations: 481.2 kB / 1.333 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/1.328, allocations: 292.5 kB / 1.334 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.328, allocations: 48.38 kB / 1.334 GB, free: 14.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=83): time 3.807e-06/1.328, allocations: 0.875 kB / 1.334 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=89): time 0.006729/1.334, allocations: 2.845 MB / 1.336 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.334, allocations: 61.16 kB / 1.336 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.336, allocations: 0.9809 MB / 1.337 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/1.336, allocations: 43.52 kB / 1.337 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/1.337, allocations: 0.5401 MB / 1.338 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/1.337, allocations: 315 kB / 1.338 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.338, allocations: 157 kB / 1.338 GB, free: 12.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.338, allocations: 337.1 kB / 1.339 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/1.338, allocations: 343.2 kB / 1.339 GB, free: 12.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/1.339, allocations: 490.9 kB / 1.34 GB, free: 11.88 MB / 1.029 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.006185/1.345, allocations: 3.036 MB / 1.342 GB, free: 10.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.345, allocations: 4.125 kB / 1.342 GB, free: 10.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00176/1.347, allocations: 1.012 MB / 1.343 GB, free: 10.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/1.347, allocations: 6.344 kB / 1.343 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.347, allocations: 2.125 kB / 1.343 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.347, allocations: 9.719 kB / 1.344 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/1.348, allocations: 179.4 kB / 1.344 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/1.348, allocations: 11.31 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.349, allocations: 29.38 kB / 1.344 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.35, allocations: 37.06 kB / 1.344 GB, free: 10.16 MB / 1.029 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.001022/1.351, allocations: 394.2 kB / 1.344 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/1.351, allocations: 123.6 kB / 1.344 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/1.352, allocations: 147.7 kB / 1.344 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.352, allocations: 7.906 kB / 1.344 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/1.352, allocations: 6.125 kB / 1.344 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/1.353, allocations: 1.087 MB / 1.345 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/1.36, allocations: 3.046 MB / 1.348 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.36, allocations: 12.41 kB / 1.348 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/1.361, allocations: 170.1 kB / 1.349 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/1.361, allocations: 94.27 kB / 1.349 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/1.361, allocations: 35.5 kB / 1.349 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/1.364, allocations: 3.087 MB / 1.352 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/1.364, allocations: 11.38 kB / 1.352 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/1.367, allocations: 1.744 MB / 1.353 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.368, allocations: 306.3 kB / 1.354 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/1.368, allocations: 30.39 kB / 1.354 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.37, allocations: 38.61 kB / 1.354 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.37, allocations: 90.73 kB / 1.354 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.37, allocations: 45.47 kB / 1.354 GB, free: 3.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001395/1.371, allocations: 0.6991 MB / 1.355 GB, free: 3.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.371, allocations: 0 / 1.355 GB, free: 3.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001889/1.373, allocations: 369.4 kB / 1.355 GB, free: 2.977 MB / 1.029 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.0007263/1.374, allocations: 246.1 kB / 1.355 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001613/1.376, allocations: 0.847 MB / 1.356 GB, free: 2.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.376, allocations: 3.406 kB / 1.356 GB, free: 2.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.377, allocations: 0.6691 MB / 1.357 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/1.382, allocations: 0.9345 MB / 1.358 GB, free: 1.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/1.387, allocations: 2.767 MB / 1.36 GB, free: 304 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.388, allocations: 1.25 MB / 1.362 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001566/1.39, allocations: 341.5 kB / 1.362 GB, free: 15.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.39, allocations: 101.2 kB / 1.362 GB, free: 15.43 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/1.39, allocations: 3.188 kB / 1.362 GB, free: 15.43 MB / 1.045 GB Notification: Performance of Templates: time 0.04826/1.438, allocations: 28.58 MB / 1.39 GB, free: 14.9 MB / 1.061 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches