Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008548/0.008555, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.001703/0.001703, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.231/2.231, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8477, allocations: 140.4 MB / 1.088 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2059/1.054, allocations: 170.8 MB / 1.255 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005588/1.059, allocations: 3.368 MB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007807/1.06, allocations: 23.81 kB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/1.061, allocations: 326.1 kB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/1.064, allocations: 1.05 MB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/1.065, allocations: 0.6803 MB / 1.26 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001988/1.067, allocations: 1.517 MB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/1.068, allocations: 485.4 kB / 1.262 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/1.069, allocations: 0.5915 MB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/1.07, allocations: 479.3 kB / 1.263 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/1.071, allocations: 52 kB / 1.263 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/1.072, allocations: 0.8302 MB / 1.264 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/1.072, allocations: 243.3 kB / 1.264 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/1.073, allocations: 334.5 kB / 1.264 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/1.074, allocations: 1.134 MB / 1.266 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.074, allocations: 4 kB / 1.266 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.074, allocations: 0 / 1.266 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.506e-05/1.074, allocations: 3.984 kB / 1.266 GB, free: 7.824 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00133/1.075, allocations: 0.934 MB / 1.266 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/1.075, allocations: 8.031 kB / 1.266 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.077, allocations: 175.5 kB / 1.267 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/1.077, allocations: 0.5289 MB / 1.267 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/1.078, allocations: 29 kB / 1.267 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/1.078, allocations: 44 kB / 1.267 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/1.078, allocations: 478.2 kB / 1.268 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.078, allocations: 4 kB / 1.268 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/1.078, allocations: 27.98 kB / 1.268 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/1.079, allocations: 13 kB / 1.268 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/1.079, allocations: 411.7 kB / 1.268 GB, free: 5.094 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.002479/1.082, allocations: 1.728 MB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/1.082, allocations: 291.2 kB / 1.27 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/1.082, allocations: 184.7 kB / 1.27 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.083, allocations: 101.1 kB / 1.27 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.083, allocations: 46.44 kB / 1.27 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/1.083, allocations: 0 / 1.27 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001906/1.084, allocations: 1.055 MB / 1.271 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.085, allocations: 59.41 kB / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/1.085, allocations: 461.8 kB / 1.272 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/1.085, allocations: 29.7 kB / 1.272 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/1.085, allocations: 252.5 kB / 1.272 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/1.085, allocations: 130.9 kB / 1.272 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/1.086, allocations: 69.66 kB / 1.272 GB, free: 468 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.086, allocations: 354.8 kB / 1.273 GB, free: 104 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/1.086, allocations: 127.9 kB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/1.086, allocations: 189.9 kB / 1.273 GB, free: 15.77 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/1.088, allocations: 0.8624 MB / 1.274 GB, free: 14.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.088, allocations: 3.984 kB / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006506/1.089, allocations: 424.8 kB / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.089, allocations: 4 kB / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.089, allocations: 0 / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.089, allocations: 4 kB / 1.274 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/1.089, allocations: 71.84 kB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.089, allocations: 4 kB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/1.09, allocations: 15.95 kB / 1.274 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/1.09, allocations: 16.19 kB / 1.274 GB, free: 14.33 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002537/1.09, allocations: 216.1 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/1.09, allocations: 59.66 kB / 1.275 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/1.09, allocations: 56.77 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/1.09, allocations: 4 kB / 1.275 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.09, allocations: 0 / 1.275 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004877/1.091, allocations: 416.5 kB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/1.092, allocations: 1.249 MB / 1.276 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.092, allocations: 4 kB / 1.276 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/1.093, allocations: 75.84 kB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.093, allocations: 8 kB / 1.276 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/1.093, allocations: 8 kB / 1.276 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/1.093, allocations: 16.42 kB / 1.276 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.093, allocations: 8 kB / 1.276 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/1.094, allocations: 0.7116 MB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/1.094, allocations: 172.7 kB / 1.277 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/1.094, allocations: 15.98 kB / 1.277 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/1.094, allocations: 12 kB / 1.277 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/1.094, allocations: 27.91 kB / 1.277 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/1.095, allocations: 28.05 kB / 1.277 GB, free: 11.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003502/1.095, allocations: 331 kB / 1.278 GB, free: 10.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.278 GB, free: 10.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005346/1.095, allocations: 140 kB / 1.278 GB, free: 10.58 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.000376/1.096, allocations: 167.5 kB / 1.278 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005281/1.096, allocations: 319.9 kB / 1.278 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.096, allocations: 0 / 1.278 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/1.097, allocations: 163.7 kB / 1.278 GB, free: 9.941 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.098, allocations: 368.8 kB / 1.279 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/1.1, allocations: 1.144 MB / 1.28 GB, free: 8.375 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/1.1, allocations: 0.8822 MB / 1.281 GB, free: 7.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004034/1.101, allocations: 132.6 kB / 1.281 GB, free: 7.332 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.101, allocations: 43.44 kB / 1.281 GB, free: 7.289 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.101, allocations: 0 / 1.281 GB, free: 7.289 MB / 1.014 GB Notification: Performance of Templates: time 0.01929/1.12, allocations: 11.13 MB / 1.292 GB, free: 12.34 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches