Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001793/0.001793, allocations: 108 kB / 15.61 MB, free: 148 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.001388/0.001388, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7868, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2138/1.001, allocations: 209.9 MB / 1.222 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01459/1.015, allocations: 9.886 MB / 1.232 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/1.018, allocations: 55.69 kB / 1.232 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/1.02, allocations: 0.7648 MB / 1.233 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009246/1.029, allocations: 2.804 MB / 1.235 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004793/1.034, allocations: 1.374 MB / 1.237 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006285/1.041, allocations: 4.06 MB / 1.241 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/1.043, allocations: 1.329 MB / 1.242 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/1.046, allocations: 1.358 MB / 1.243 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/1.049, allocations: 1.215 MB / 1.245 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000483/1.049, allocations: 151.9 kB / 1.245 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005912/1.055, allocations: 2.385 MB / 1.247 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.056, allocations: 0.6077 MB / 1.248 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002655/1.059, allocations: 0.8595 MB / 1.248 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00657/1.065, allocations: 2.965 MB / 1.251 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.065, allocations: 0 / 1.251 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/1.065, allocations: 0 / 1.251 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.127e-05/1.065, allocations: 0 / 1.251 GB, free: 1.938 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.5917/1.657, allocations: 1.897 MB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/1.657, allocations: 9.375 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/1.661, allocations: 484.3 kB / 1.254 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/1.664, allocations: 1.062 MB / 1.255 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/1.664, allocations: 84.92 kB / 1.255 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.664, allocations: 113.8 kB / 1.255 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/1.667, allocations: 1.155 MB / 1.256 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/1.667, allocations: 12.41 kB / 1.256 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.667, allocations: 47.84 kB / 1.256 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.594e-05/1.667, allocations: 40.42 kB / 1.256 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/1.669, allocations: 1.075 MB / 1.257 GB, free: 234.4 MB / 0.9981 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.007101/1.677, allocations: 4.226 MB / 1.261 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.678, allocations: 0.7966 MB / 1.262 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/1.679, allocations: 481.9 kB / 1.263 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/1.679, allocations: 294.7 kB / 1.263 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/1.68, allocations: 46.3 kB / 1.263 GB, free: 231 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.577e-06/1.68, allocations: 0 / 1.263 GB, free: 231 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.00679/1.686, allocations: 2.837 MB / 1.266 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.686, allocations: 66.03 kB / 1.266 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/1.688, allocations: 0.9768 MB / 1.267 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.727e-05/1.688, allocations: 47.77 kB / 1.267 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/1.689, allocations: 0.54 MB / 1.267 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/1.689, allocations: 316.8 kB / 1.268 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/1.689, allocations: 157.5 kB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/1.689, allocations: 336.9 kB / 1.268 GB, free: 228 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/1.69, allocations: 341.6 kB / 1.268 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/1.69, allocations: 490.9 kB / 1.269 GB, free: 227.6 MB / 0.9981 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.005982/1.696, allocations: 3.041 MB / 1.272 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/1.696, allocations: 1.125 kB / 1.272 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001788/1.698, allocations: 1.017 MB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.698, allocations: 6.25 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.698, allocations: 3.844 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.698, allocations: 7.578 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/1.699, allocations: 186.2 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.699, allocations: 14.11 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.7, allocations: 24.05 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/1.7, allocations: 32.72 kB / 1.273 GB, free: 225.9 MB / 0.9981 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.0006998/1.701, allocations: 378.1 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/1.701, allocations: 129.4 kB / 1.274 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/1.702, allocations: 152 kB / 1.274 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.702, allocations: 8.5 kB / 1.274 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/1.702, allocations: 1.5 kB / 1.274 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001471/1.703, allocations: 1.098 MB / 1.275 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005175/1.708, allocations: 3.056 MB / 1.278 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.708, allocations: 8.594 kB / 1.278 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/1.709, allocations: 160.2 kB / 1.278 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/1.709, allocations: 100.8 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/1.71, allocations: 28.62 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.711, allocations: 3.098 MB / 1.281 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.711, allocations: 14.94 kB / 1.281 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.714, allocations: 1.731 MB / 1.283 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/1.714, allocations: 309.2 kB / 1.283 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/1.715, allocations: 34.2 kB / 1.283 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.716, allocations: 43.73 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.716, allocations: 88.33 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.716, allocations: 45.14 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009782/1.717, allocations: 0.698 MB / 1.284 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.717, allocations: 0 / 1.284 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001375/1.718, allocations: 371.7 kB / 1.284 GB, free: 218.4 MB / 0.9981 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.0005746/1.719, allocations: 241 kB / 1.284 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.721, allocations: 0.9604 MB / 1.285 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.721, allocations: 0 / 1.285 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/1.721, allocations: 0.6713 MB / 1.286 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/1.726, allocations: 0.9293 MB / 1.287 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/1.73, allocations: 2.802 MB / 1.29 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/1.73, allocations: 1.253 MB / 1.291 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001409/1.732, allocations: 339 kB / 1.291 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/1.732, allocations: 99.42 kB / 1.291 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/1.732, allocations: 0 / 1.291 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0413/1.774, allocations: 28.39 MB / 1.319 GB, free: 184.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches