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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001581/0.001588, allocations: 102 kB / 16.41 MB, free: 6.488 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.001784/0.001784, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 72.09 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8547, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1986/1.053, allocations: 170.8 MB / 1.375 GB, free: 2.16 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006359/1.06, allocations: 3.374 MB / 1.379 GB, free: 14.78 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/1.061, allocations: 23.88 kB / 1.379 GB, free: 14.75 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/1.062, allocations: 322.1 kB / 1.379 GB, free: 14.44 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/1.066, allocations: 1.015 MB / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/1.068, allocations: 0.6689 MB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00271/1.071, allocations: 1.521 MB / 1.382 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009864/1.072, allocations: 485.5 kB / 1.382 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/1.073, allocations: 0.5759 MB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/1.075, allocations: 461.9 kB / 1.383 GB, free: 9.727 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/1.075, allocations: 56 kB / 1.383 GB, free: 9.672 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/1.077, allocations: 0.8301 MB / 1.384 GB, free: 8.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000485/1.078, allocations: 239.4 kB / 1.385 GB, free: 8.605 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/1.079, allocations: 334.6 kB / 1.385 GB, free: 8.277 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/1.081, allocations: 1.139 MB / 1.386 GB, free: 7.137 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.081, allocations: 0 / 1.386 GB, free: 7.137 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.874e-06/1.081, allocations: 0 / 1.386 GB, free: 7.137 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.812e-05/1.081, allocations: 0 / 1.386 GB, free: 7.137 MB / 1.107 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.001802/1.083, allocations: 0.9116 MB / 1.387 GB, free: 6.176 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.083, allocations: 12.03 kB / 1.387 GB, free: 6.164 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.084, allocations: 175.1 kB / 1.387 GB, free: 5.992 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/1.085, allocations: 0.5325 MB / 1.388 GB, free: 5.418 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/1.085, allocations: 33 kB / 1.388 GB, free: 5.387 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/1.085, allocations: 44 kB / 1.388 GB, free: 5.344 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008937/1.086, allocations: 466.4 kB / 1.388 GB, free: 4.883 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/1.086, allocations: 4 kB / 1.388 GB, free: 4.879 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/1.086, allocations: 16 kB / 1.388 GB, free: 4.863 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/1.086, allocations: 16.94 kB / 1.388 GB, free: 4.844 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/1.087, allocations: 419.7 kB / 1.388 GB, free: 4.438 MB / 1.107 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.002913/1.09, allocations: 1.732 MB / 1.39 GB, free: 2.57 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/1.09, allocations: 290.5 kB / 1.39 GB, free: 2.277 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/1.091, allocations: 182.7 kB / 1.391 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/1.091, allocations: 97.09 kB / 1.391 GB, free: 1.984 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.091, allocations: 42.5 kB / 1.391 GB, free: 1.934 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/1.091, allocations: 0 / 1.391 GB, free: 1.934 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002173/1.093, allocations: 1.063 MB / 1.392 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.093, allocations: 55.41 kB / 1.392 GB, free: 0.75 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/1.094, allocations: 461.8 kB / 1.392 GB, free: 296 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/1.094, allocations: 37.64 kB / 1.392 GB, free: 252 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/1.094, allocations: 248.1 kB / 1.393 GB, free: 0 / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.094, allocations: 114.4 kB / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.094, allocations: 69.59 kB / 1.393 GB, free: 15.81 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.095, allocations: 354.8 kB / 1.393 GB, free: 15.46 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/1.095, allocations: 131.9 kB / 1.393 GB, free: 15.33 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/1.095, allocations: 205.4 kB / 1.393 GB, free: 15.11 MB / 1.123 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.001949/1.097, allocations: 0.8526 MB / 1.394 GB, free: 14.21 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.097, allocations: 0 / 1.394 GB, free: 14.21 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006491/1.098, allocations: 416.4 kB / 1.395 GB, free: 13.8 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.098, allocations: 4 kB / 1.395 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.098, allocations: 4 kB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.098, allocations: 8.188 kB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/1.098, allocations: 67.91 kB / 1.395 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.098, allocations: 7.984 kB / 1.395 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/1.099, allocations: 19.88 kB / 1.395 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/1.099, allocations: 12 kB / 1.395 GB, free: 13.68 MB / 1.123 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.0002772/1.099, allocations: 213.7 kB / 1.395 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.099, allocations: 51.38 kB / 1.395 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/1.099, allocations: 60.75 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.099, allocations: 8 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.099, allocations: 0 / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000514/1.1, allocations: 404.3 kB / 1.395 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/1.102, allocations: 1.247 MB / 1.397 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.102, allocations: 4 kB / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/1.102, allocations: 75.94 kB / 1.397 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.102, allocations: 7.984 kB / 1.397 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/1.102, allocations: 16 kB / 1.397 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/1.102, allocations: 15.92 kB / 1.397 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/1.102, allocations: 7.938 kB / 1.397 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/1.103, allocations: 0.6994 MB / 1.397 GB, free: 10.67 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/1.103, allocations: 164.5 kB / 1.398 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/1.103, allocations: 16 kB / 1.398 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/1.104, allocations: 15.98 kB / 1.398 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/1.104, allocations: 35.91 kB / 1.398 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/1.104, allocations: 23.98 kB / 1.398 GB, free: 10.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003687/1.104, allocations: 331.1 kB / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.104, allocations: 0 / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005843/1.105, allocations: 136 kB / 1.398 GB, free: 9.945 MB / 1.123 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.0004539/1.105, allocations: 174 kB / 1.398 GB, free: 9.777 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006034/1.106, allocations: 332.3 kB / 1.399 GB, free: 9.453 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.106, allocations: 0 / 1.399 GB, free: 9.453 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/1.106, allocations: 164.9 kB / 1.399 GB, free: 9.293 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/1.108, allocations: 358.6 kB / 1.399 GB, free: 8.949 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.11, allocations: 1.165 MB / 1.4 GB, free: 7.699 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/1.11, allocations: 0.8862 MB / 1.401 GB, free: 6.785 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.11, allocations: 47.38 kB / 1.401 GB, free: 6.738 MB / 1.123 GB Notification: Performance of SimCode: time 3.31e-07/1.11, allocations: 0 / 1.401 GB, free: 6.738 MB / 1.123 GB Notification: Performance of Templates: time 0.01455/1.125, allocations: 8.665 MB / 1.41 GB, free: 14.16 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches