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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001594/0.001594, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002374/0.002374, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.7 MB / 0.7448 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 75.38 kB / 0.9116 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3747, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8908/1.266, allocations: 207.2 MB / 1.27 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01531/1.281, allocations: 9.802 MB / 1.28 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/1.284, allocations: 52.31 kB / 1.28 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/1.287, allocations: 0.6843 MB / 1.28 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/1.3, allocations: 2.639 MB / 1.283 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008179/1.308, allocations: 1.269 MB / 1.284 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0124/1.321, allocations: 4.059 MB / 1.288 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003952/1.325, allocations: 1.297 MB / 1.289 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/1.329, allocations: 1.375 MB / 1.291 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004585/1.334, allocations: 1.318 MB / 1.292 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009732/1.335, allocations: 145.4 kB / 1.292 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007685/1.343, allocations: 2.499 MB / 1.295 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/1.344, allocations: 0.6135 MB / 1.295 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/1.347, allocations: 0.8569 MB / 1.296 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008543/1.356, allocations: 3.146 MB / 1.299 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.356, allocations: 0.9062 kB / 1.299 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.334e-06/1.356, allocations: 0 / 1.299 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001009/1.356, allocations: 0.875 kB / 1.299 GB, free: 4.66 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.00705/1.363, allocations: 1.906 MB / 1.301 GB, free: 19.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.363, allocations: 9.312 kB / 1.301 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/1.367, allocations: 484.2 kB / 1.301 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/1.371, allocations: 1.064 MB / 1.303 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.371, allocations: 82.08 kB / 1.303 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/1.372, allocations: 114.2 kB / 1.303 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/1.376, allocations: 1.158 MB / 1.304 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/1.376, allocations: 3.125 kB / 1.304 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/1.376, allocations: 47.66 kB / 1.304 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.278e-05/1.376, allocations: 41.42 kB / 1.304 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/1.379, allocations: 1.076 MB / 1.305 GB, free: 19.16 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.009386/1.388, allocations: 4.219 MB / 1.309 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/1.39, allocations: 0.7879 MB / 1.31 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/1.39, allocations: 478.1 kB / 1.31 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/1.391, allocations: 298.3 kB / 1.311 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/1.391, allocations: 45 kB / 1.311 GB, free: 17.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.066e-06/1.391, allocations: 0 / 1.311 GB, free: 17.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.007121/1.398, allocations: 2.846 MB / 1.313 GB, free: 16.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.398, allocations: 61.28 kB / 1.314 GB, free: 16.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.4, allocations: 0.9741 MB / 1.314 GB, free: 16.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/1.4, allocations: 47.77 kB / 1.315 GB, free: 16.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/1.4, allocations: 0.5433 MB / 1.315 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/1.401, allocations: 312 kB / 1.315 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.401, allocations: 158.5 kB / 1.315 GB, free: 15.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.401, allocations: 339.4 kB / 1.316 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/1.402, allocations: 344.2 kB / 1.316 GB, free: 15.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/1.402, allocations: 486.4 kB / 1.317 GB, free: 15.32 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.005831/1.408, allocations: 3.047 MB / 1.32 GB, free: 14.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/1.408, allocations: 0 / 1.32 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001633/1.41, allocations: 1.012 MB / 1.321 GB, free: 14.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.41, allocations: 7.344 kB / 1.321 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.41, allocations: 7.844 kB / 1.321 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.41, allocations: 6.875 kB / 1.321 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/1.411, allocations: 180.3 kB / 1.321 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.411, allocations: 9 kB / 1.321 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.412, allocations: 77.45 kB / 1.321 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/1.412, allocations: 34.05 kB / 1.321 GB, free: 14.76 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.0007791/1.413, allocations: 388.6 kB / 1.321 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/1.414, allocations: 124.8 kB / 1.321 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/1.414, allocations: 148.3 kB / 1.321 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.414, allocations: 8.469 kB / 1.322 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/1.414, allocations: 4.031 kB / 1.322 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/1.415, allocations: 1.091 MB / 1.323 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/1.421, allocations: 3.048 MB / 1.326 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.421, allocations: 8.562 kB / 1.326 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/1.422, allocations: 162.8 kB / 1.326 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/1.422, allocations: 103.5 kB / 1.326 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/1.422, allocations: 36.77 kB / 1.326 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/1.425, allocations: 3.097 MB / 1.329 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/1.425, allocations: 15.22 kB / 1.329 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/1.427, allocations: 1.73 MB / 1.331 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/1.428, allocations: 311.4 kB / 1.331 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/1.428, allocations: 31.61 kB / 1.331 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.43, allocations: 74.31 kB / 1.331 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.43, allocations: 88.91 kB / 1.331 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.43, allocations: 45.83 kB / 1.331 GB, free: 9.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001066/1.431, allocations: 0.6968 MB / 1.332 GB, free: 9.684 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.431, allocations: 2.781 kB / 1.332 GB, free: 9.684 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001648/1.433, allocations: 375 kB / 1.332 GB, free: 9.652 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.0006545/1.433, allocations: 247.9 kB / 1.332 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001813/1.435, allocations: 0.9586 MB / 1.333 GB, free: 9.234 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.435, allocations: 7.5 kB / 1.333 GB, free: 9.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.436, allocations: 0.6712 MB / 1.334 GB, free: 8.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/1.442, allocations: 0.9233 MB / 1.335 GB, free: 8.617 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/1.448, allocations: 3.253 MB / 1.338 GB, free: 6.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/1.449, allocations: 1.253 MB / 1.339 GB, free: 5.703 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002305/1.452, allocations: 343.9 kB / 1.34 GB, free: 5.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/1.452, allocations: 99.56 kB / 1.34 GB, free: 5.613 MB / 1.014 GB Notification: Performance of SimCode: time 1.633e-06/1.452, allocations: 0 / 1.34 GB, free: 5.613 MB / 1.014 GB Notification: Performance of Templates: time 0.05438/1.507, allocations: 28.22 MB / 1.367 GB, free: 11.11 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