Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 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.001827/0.001827, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.61 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3186, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1801/0.4987, allocations: 170.8 MB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006005/0.5047, allocations: 3.382 MB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5059, allocations: 19.88 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.5072, allocations: 310.1 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.5101, allocations: 1.019 MB / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.512, allocations: 0.6494 MB / 1.24 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5142, allocations: 1.531 MB / 1.242 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008262/0.515, allocations: 483.4 kB / 1.242 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.5162, allocations: 0.5564 MB / 1.243 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.5176, allocations: 471.9 kB / 1.243 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.5178, allocations: 56 kB / 1.243 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.5198, allocations: 0.8262 MB / 1.244 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/0.5202, allocations: 239.4 kB / 1.244 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.5208, allocations: 338.5 kB / 1.245 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.5229, allocations: 1.126 MB / 1.246 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5229, allocations: 3.938 kB / 1.246 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5229, allocations: 3.938 kB / 1.246 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.5229, allocations: 0 / 1.246 GB, free: 3.969 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.001787/0.5247, allocations: 0.9116 MB / 1.247 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5248, allocations: 11.97 kB / 1.247 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.5262, allocations: 179.1 kB / 1.247 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5272, allocations: 0.4974 MB / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.5273, allocations: 29 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.5274, allocations: 44 kB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.5283, allocations: 474.4 kB / 1.248 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5283, allocations: 8 kB / 1.248 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.5284, allocations: 23.94 kB / 1.248 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.5284, allocations: 13 kB / 1.248 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.5291, allocations: 411.7 kB / 1.248 GB, free: 1.297 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.6411/1.17, allocations: 1.738 MB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/1.171, allocations: 295.7 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/1.171, allocations: 181.4 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/1.171, allocations: 103.3 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.171, allocations: 41.45 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/1.171, allocations: 5.266 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002197/1.173, allocations: 1.06 MB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.174, allocations: 56.72 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/1.174, allocations: 459.4 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/1.174, allocations: 37.17 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.174, allocations: 247 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/1.174, allocations: 118 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.175, allocations: 71.81 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/1.175, allocations: 356.3 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/1.175, allocations: 128.6 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.175, allocations: 200.9 kB / 1.253 GB, free: 185.1 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/1.177, allocations: 0.8599 MB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.177, allocations: 7.484 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007319/1.178, allocations: 412.1 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.178, allocations: 5.812 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.178, allocations: 1.75 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.178, allocations: 3.438 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/1.178, allocations: 73.14 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.178, allocations: 4.328 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/1.179, allocations: 12.78 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.179, allocations: 11.3 kB / 1.255 GB, free: 184.9 MB / 0.9981 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.0002737/1.179, allocations: 223.7 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.179, allocations: 49.89 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/1.179, allocations: 61.45 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.179, allocations: 3.484 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.179, allocations: 0 / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005375/1.18, allocations: 409.3 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/1.182, allocations: 1.245 MB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.182, allocations: 7.531 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/1.182, allocations: 77.77 kB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.182, allocations: 5.812 kB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.182, allocations: 10.47 kB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.182, allocations: 9.172 kB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.182, allocations: 10.72 kB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/1.183, allocations: 0.708 MB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/1.183, allocations: 168.5 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/1.183, allocations: 8.906 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/1.184, allocations: 23.31 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/1.184, allocations: 35.44 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/1.184, allocations: 19.12 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003092/1.184, allocations: 329.1 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.184, allocations: 0 / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00055/1.185, allocations: 141.2 kB / 1.258 GB, free: 183.6 MB / 0.9981 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.000427/1.185, allocations: 169.9 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005132/1.186, allocations: 343.9 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.186, allocations: 2.969 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/1.186, allocations: 171 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.187, allocations: 370.8 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/1.189, allocations: 1.128 MB / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.189, allocations: 0.8828 MB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004237/1.19, allocations: 137.3 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.19, allocations: 47.14 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.19, allocations: 0 / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02466/1.214, allocations: 11.06 MB / 1.272 GB, free: 181 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches