Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_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.001594/0.001594, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.00176/0.001761, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.562/2.562, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002006, allocations: 72.27 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6841/0.9954, allocations: 170.8 MB / 1.185 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006205/1.002, allocations: 3.387 MB / 1.188 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/1.003, allocations: 21 kB / 1.188 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009915/1.004, allocations: 311.9 kB / 1.188 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/1.006, allocations: 1.006 MB / 1.189 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/1.008, allocations: 0.6716 MB / 1.19 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002322/1.011, allocations: 1.52 MB / 1.192 GB, free: 16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/1.011, allocations: 486.3 kB / 1.192 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/1.013, allocations: 0.5648 MB / 1.193 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/1.014, allocations: 467 kB / 1.193 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/1.014, allocations: 55.16 kB / 1.193 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/1.016, allocations: 0.8188 MB / 1.194 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/1.016, allocations: 246.2 kB / 1.194 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004531/1.017, allocations: 340.4 kB / 1.194 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/1.019, allocations: 1.123 MB / 1.195 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.019, allocations: 0 / 1.195 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.453e-06/1.019, allocations: 0 / 1.195 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.123e-05/1.019, allocations: 1.312 kB / 1.195 GB, free: 13.58 MB / 0.9044 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.001642/1.021, allocations: 0.914 MB / 1.196 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.021, allocations: 10.39 kB / 1.196 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/1.022, allocations: 171.3 kB / 1.197 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/1.023, allocations: 0.4967 MB / 1.197 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/1.023, allocations: 37.84 kB / 1.197 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/1.023, allocations: 44.44 kB / 1.197 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/1.024, allocations: 475.8 kB / 1.198 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.024, allocations: 4 kB / 1.198 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/1.024, allocations: 21.47 kB / 1.198 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/1.024, allocations: 13.72 kB / 1.198 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/1.024, allocations: 412.6 kB / 1.198 GB, free: 11.81 MB / 0.9044 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.002735/1.027, allocations: 1.747 MB / 1.2 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/1.028, allocations: 300.3 kB / 1.2 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/1.028, allocations: 178.9 kB / 1.2 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/1.028, allocations: 97.83 kB / 1.2 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.028, allocations: 41.25 kB / 1.2 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/1.028, allocations: 2.312 kB / 1.2 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002103/1.03, allocations: 1.057 MB / 1.201 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.03, allocations: 54.16 kB / 1.201 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/1.031, allocations: 456.5 kB / 1.202 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/1.031, allocations: 40.17 kB / 1.202 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/1.031, allocations: 248.1 kB / 1.202 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.031, allocations: 117.1 kB / 1.202 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.031, allocations: 69.44 kB / 1.202 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.032, allocations: 357 kB / 1.203 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/1.032, allocations: 129.2 kB / 1.203 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/1.032, allocations: 204.1 kB / 1.203 GB, free: 7.961 MB / 0.9044 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.001939/1.034, allocations: 0.8601 MB / 1.204 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.034, allocations: 0 / 1.204 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006507/1.035, allocations: 428.1 kB / 1.204 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.035, allocations: 5.281 kB / 1.204 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.035, allocations: 2.469 kB / 1.204 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.035, allocations: 1.844 kB / 1.204 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/1.035, allocations: 71.59 kB / 1.204 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.035, allocations: 5.25 kB / 1.204 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/1.036, allocations: 16.98 kB / 1.204 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.036, allocations: 14.28 kB / 1.204 GB, free: 7.188 MB / 0.9044 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.000297/1.036, allocations: 215.2 kB / 1.204 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.036, allocations: 54.72 kB / 1.205 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/1.036, allocations: 57.75 kB / 1.205 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.036, allocations: 4.875 kB / 1.205 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.036, allocations: 0 / 1.205 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005015/1.037, allocations: 414 kB / 1.205 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/1.039, allocations: 1.245 MB / 1.206 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.039, allocations: 6.938 kB / 1.206 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/1.039, allocations: 73.75 kB / 1.206 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.039, allocations: 4.812 kB / 1.206 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/1.039, allocations: 15.34 kB / 1.206 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.039, allocations: 4.906 kB / 1.206 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.039, allocations: 6.125 kB / 1.206 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/1.04, allocations: 0.7026 MB / 1.207 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/1.04, allocations: 169.9 kB / 1.207 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/1.04, allocations: 15.66 kB / 1.207 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/1.041, allocations: 26.45 kB / 1.207 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/1.041, allocations: 33.47 kB / 1.207 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/1.041, allocations: 19.3 kB / 1.207 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003589/1.041, allocations: 328.4 kB / 1.208 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.041, allocations: 4 kB / 1.208 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005572/1.042, allocations: 140.2 kB / 1.208 GB, free: 4.719 MB / 0.9044 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.000461/1.042, allocations: 179.2 kB / 1.208 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006005/1.043, allocations: 345.4 kB / 1.208 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.043, allocations: 384 / 1.208 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/1.043, allocations: 167.2 kB / 1.208 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/1.045, allocations: 368.2 kB / 1.209 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1.047, allocations: 1.174 MB / 1.21 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/1.047, allocations: 0.8828 MB / 1.211 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/1.047, allocations: 44.53 kB / 1.211 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of SimCode: time 5.42e-07/1.047, allocations: 0 / 1.211 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of Templates: time 0.01442/1.062, allocations: 8.613 MB / 1.219 GB, free: 10.89 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches