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.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.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.007068/0.007068, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001549/0.001549, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.605/2.605, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.86 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7677/0.7693, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1839/0.9532, allocations: 168.6 MB / 1.182 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00576/0.959, allocations: 3.419 MB / 1.185 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.9599, allocations: 19.88 kB / 1.185 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.9611, allocations: 274.6 kB / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.9637, allocations: 0.9569 MB / 1.186 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.9655, allocations: 0.6037 MB / 1.187 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002656/0.9682, allocations: 2.11 MB / 1.189 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008119/0.969, allocations: 405.1 kB / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.9702, allocations: 493.8 kB / 1.19 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.9716, allocations: 493.7 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.9718, allocations: 24 kB / 1.19 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.9739, allocations: 0.9546 MB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.9742, allocations: 219.4 kB / 1.192 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005256/0.9747, allocations: 302.5 kB / 1.192 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.9761, allocations: 0.842 MB / 1.193 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9761, allocations: 3.938 kB / 1.193 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9761, allocations: 0 / 1.193 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.9761, allocations: 4 kB / 1.193 GB, free: 14.5 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002081/0.9782, allocations: 0.9077 MB / 1.194 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9783, allocations: 8.031 kB / 1.194 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.9797, allocations: 179.1 kB / 1.194 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.9806, allocations: 0.5014 MB / 1.194 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.9806, allocations: 32.94 kB / 1.194 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.9807, allocations: 47.91 kB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.9816, allocations: 474.4 kB / 1.195 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.9816, allocations: 0 / 1.195 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.9817, allocations: 20 kB / 1.195 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.9817, allocations: 17 kB / 1.195 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.9824, allocations: 415.7 kB / 1.195 GB, free: 11.82 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.002934/0.9854, allocations: 1.732 MB / 1.197 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.9859, allocations: 290.7 kB / 1.197 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.9862, allocations: 182.7 kB / 1.197 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.9864, allocations: 101 kB / 1.197 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.9864, allocations: 38.5 kB / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.9864, allocations: 3.938 kB / 1.197 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002258/0.9887, allocations: 1.06 MB / 1.199 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.9887, allocations: 51.41 kB / 1.199 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.9893, allocations: 457.9 kB / 1.199 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.9894, allocations: 37.64 kB / 1.199 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.9896, allocations: 248.1 kB / 1.199 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.9897, allocations: 118.3 kB / 1.199 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.9898, allocations: 73.59 kB / 1.199 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.99, allocations: 362.8 kB / 1.2 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.9903, allocations: 123.9 kB / 1.2 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.9905, allocations: 201.6 kB / 1.2 GB, free: 6.5 MB / 0.9512 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.001976/0.9925, allocations: 0.8682 MB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9925, allocations: 0 / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006688/0.9932, allocations: 416.8 kB / 1.201 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.9932, allocations: 7.938 kB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.9933, allocations: 4 kB / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9933, allocations: 3.984 kB / 1.201 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.9936, allocations: 67.92 kB / 1.201 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.9936, allocations: 7.984 kB / 1.201 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.9941, allocations: 32.02 kB / 1.201 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.9942, allocations: 12 kB / 1.201 GB, free: 5.047 MB / 0.9512 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/0.9944, allocations: 205.7 kB / 1.202 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.9946, allocations: 51.38 kB / 1.202 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.9947, allocations: 64.75 kB / 1.202 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9947, allocations: 4 kB / 1.202 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9947, allocations: 0 / 1.202 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005104/0.9952, allocations: 404.3 kB / 1.202 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.9972, allocations: 1.247 MB / 1.203 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9972, allocations: 4 kB / 1.203 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.9976, allocations: 75.91 kB / 1.203 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.9976, allocations: 4.5 kB / 1.203 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.9977, allocations: 19.94 kB / 1.204 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.9977, allocations: 8 kB / 1.204 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9977, allocations: 7.984 kB / 1.204 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.9986, allocations: 0.7038 MB / 1.204 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.9989, allocations: 164.5 kB / 1.204 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.9989, allocations: 12 kB / 1.204 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.9994, allocations: 43.12 kB / 1.204 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.9995, allocations: 35.91 kB / 1.204 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.9995, allocations: 20 kB / 1.204 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003891/0.9999, allocations: 327.1 kB / 1.205 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.9999, allocations: 3.938 kB / 1.205 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006027/1.001, allocations: 152 kB / 1.205 GB, free: 1.301 MB / 0.9512 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.0004214/1.001, allocations: 171.9 kB / 1.205 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005651/1.002, allocations: 316 kB / 1.205 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.002, allocations: 0 / 1.205 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/1.002, allocations: 165 kB / 1.206 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.004, allocations: 347.6 kB / 1.206 GB, free: 332 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/1.006, allocations: 1.339 MB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/1.006, allocations: 0.8862 MB / 1.208 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.006, allocations: 43.44 kB / 1.208 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/1.006, allocations: 3.938 kB / 1.208 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.01461/1.021, allocations: 8.605 MB / 1.217 GB, free: 5.434 MB / 0.9669 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=480 -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