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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001483/0.001483, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001663/0.001664, allocations: 189.9 kB / 17.3 MB, free: 5.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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 58.97 kB / 0.8707 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2934, allocations: 151.6 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6712/0.9646, allocations: 209.9 MB / 1.224 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.9797, allocations: 9.859 MB / 1.233 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.9817, allocations: 59.62 kB / 1.233 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.9838, allocations: 0.7804 MB / 1.234 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.991, allocations: 2.797 MB / 1.237 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.9946, allocations: 1.382 MB / 1.238 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005431/1, allocations: 4.076 MB / 1.242 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/1.002, allocations: 1.33 MB / 1.244 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/1.005, allocations: 1.362 MB / 1.245 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003555/1.009, allocations: 1.22 MB / 1.246 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003294/1.009, allocations: 144 kB / 1.246 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/1.014, allocations: 2.385 MB / 1.249 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006631/1.015, allocations: 0.6078 MB / 1.249 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/1.016, allocations: 0.8517 MB / 1.25 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005312/1.021, allocations: 3.011 MB / 1.253 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.021, allocations: 0 / 1.253 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/1.021, allocations: 0 / 1.253 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.42e-05/1.021, allocations: 0 / 1.253 GB, free: 9.102 MB / 0.9512 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.003107/1.024, allocations: 1.893 MB / 1.255 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/1.024, allocations: 12.02 kB / 1.255 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/1.028, allocations: 489.7 kB / 1.255 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/1.03, allocations: 1.128 MB / 1.256 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/1.03, allocations: 82.14 kB / 1.256 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.03, allocations: 115.9 kB / 1.257 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/1.032, allocations: 1.149 MB / 1.258 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.032, allocations: 0 / 1.258 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.032, allocations: 59.92 kB / 1.258 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/1.032, allocations: 38.14 kB / 1.258 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.034, allocations: 1.078 MB / 1.259 GB, free: 2.926 MB / 0.9512 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.006286/1.04, allocations: 4.197 MB / 1.263 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/1.042, allocations: 0.7825 MB / 1.264 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/1.042, allocations: 490.6 kB / 1.264 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/1.043, allocations: 292.3 kB / 1.264 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.043, allocations: 51.56 kB / 1.264 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 2.364e-06/1.043, allocations: 0 / 1.264 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.00555/1.048, allocations: 2.84 MB / 1.267 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.048, allocations: 60.41 kB / 1.267 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.05, allocations: 0.9716 MB / 1.268 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.394e-05/1.05, allocations: 49.7 kB / 1.268 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/1.05, allocations: 0.5395 MB / 1.269 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.05, allocations: 311.4 kB / 1.269 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/1.051, allocations: 162.6 kB / 1.269 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.051, allocations: 334 kB / 1.27 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/1.051, allocations: 341.8 kB / 1.27 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/1.052, allocations: 497.8 kB / 1.27 GB, free: 6.527 MB / 0.9669 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.005821/1.058, allocations: 3.043 MB / 1.273 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/1.058, allocations: 0 / 1.273 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001558/1.059, allocations: 1.012 MB / 1.274 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.059, allocations: 11.94 kB / 1.274 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.059, allocations: 1.172 kB / 1.274 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.06, allocations: 8 kB / 1.274 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/1.06, allocations: 183.7 kB / 1.275 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/1.06, allocations: 11.98 kB / 1.275 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/1.061, allocations: 20 kB / 1.275 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/1.061, allocations: 35.94 kB / 1.275 GB, free: 2.117 MB / 0.9669 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.0005938/1.062, allocations: 387.7 kB / 1.275 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.062, allocations: 130.4 kB / 1.275 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/1.062, allocations: 148.3 kB / 1.275 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.062, allocations: 8 kB / 1.275 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.062, allocations: 3.938 kB / 1.275 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/1.064, allocations: 1.098 MB / 1.276 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/1.069, allocations: 3.04 MB / 1.279 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.069, allocations: 12.03 kB / 1.279 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/1.069, allocations: 163.7 kB / 1.279 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/1.07, allocations: 93.66 kB / 1.28 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/1.07, allocations: 35.98 kB / 1.28 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/1.072, allocations: 3.09 MB / 1.283 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.138e-06/1.072, allocations: 15.88 kB / 1.283 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/1.074, allocations: 1.737 MB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/1.075, allocations: 311.5 kB / 1.285 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/1.075, allocations: 32.11 kB / 1.285 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/1.076, allocations: 45.8 kB / 1.285 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.076, allocations: 84.11 kB / 1.285 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-05/1.076, allocations: 51.98 kB / 1.285 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009059/1.077, allocations: 0.6956 MB / 1.285 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.077, allocations: 0 / 1.285 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001019/1.078, allocations: 376 kB / 1.286 GB, free: 5.883 MB / 0.9825 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.000441/1.079, allocations: 239.6 kB / 1.286 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.08, allocations: 0.8512 MB / 1.287 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.08, allocations: 3.938 kB / 1.287 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009558/1.081, allocations: 0.6696 MB / 1.288 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.084, allocations: 0.9257 MB / 1.288 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/1.088, allocations: 2.772 MB / 1.291 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/1.089, allocations: 1.253 MB / 1.292 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001028/1.09, allocations: 339 kB / 1.293 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/1.09, allocations: 99.44 kB / 1.293 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.09, allocations: 4 kB / 1.293 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.04312/1.133, allocations: 28.33 MB / 1.32 GB, free: 2.609 MB / 1.014 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches