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.001369/0.001374, allocations: 104.7 kB / 16.4 MB, free: 6.469 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.001501/0.001501, allocations: 192 kB / 17.34 MB, free: 5.715 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.508/1.508, 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 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.854, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2229/1.077, allocations: 170.8 MB / 1.334 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007517/1.085, allocations: 3.384 MB / 1.337 GB, free: 4.965 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/1.086, allocations: 23.88 kB / 1.337 GB, free: 4.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00178/1.088, allocations: 326.1 kB / 1.338 GB, free: 4.621 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004903/1.093, allocations: 1.062 MB / 1.339 GB, free: 3.555 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/1.096, allocations: 0.6674 MB / 1.339 GB, free: 2.891 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003025/1.099, allocations: 1.53 MB / 1.341 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.1, allocations: 477.5 kB / 1.341 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/1.101, allocations: 0.5954 MB / 1.342 GB, free: 296 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/1.103, allocations: 472.4 kB / 1.342 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/1.103, allocations: 56 kB / 1.342 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/1.106, allocations: 0.8379 MB / 1.343 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005526/1.107, allocations: 235.4 kB / 1.344 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000921/1.107, allocations: 334.5 kB / 1.344 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00292/1.11, allocations: 1.134 MB / 1.345 GB, free: 13.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.11, allocations: 0 / 1.345 GB, free: 13.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.515e-06/1.11, allocations: 4 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.463e-05/1.11, allocations: 0 / 1.345 GB, free: 13.23 MB / 1.076 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.002276/1.113, allocations: 0.9301 MB / 1.346 GB, free: 12.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.113, allocations: 8.922 kB / 1.346 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/1.114, allocations: 183.4 kB / 1.346 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/1.115, allocations: 0.5212 MB / 1.347 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/1.116, allocations: 29 kB / 1.347 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/1.116, allocations: 51.92 kB / 1.347 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/1.117, allocations: 474.4 kB / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/1.117, allocations: 0 / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/1.117, allocations: 16 kB / 1.347 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/1.117, allocations: 20.94 kB / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/1.117, allocations: 415.7 kB / 1.348 GB, free: 10.52 MB / 1.076 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.002903/1.12, allocations: 1.724 MB / 1.349 GB, free: 8.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/1.121, allocations: 301 kB / 1.349 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/1.121, allocations: 176.7 kB / 1.35 GB, free: 8.184 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/1.121, allocations: 97.09 kB / 1.35 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.121, allocations: 46.5 kB / 1.35 GB, free: 8.016 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/1.121, allocations: 0 / 1.35 GB, free: 8.016 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002299/1.124, allocations: 1.07 MB / 1.351 GB, free: 6.898 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.124, allocations: 55.41 kB / 1.351 GB, free: 6.832 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/1.124, allocations: 453.9 kB / 1.351 GB, free: 6.379 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/1.124, allocations: 37.69 kB / 1.351 GB, free: 6.336 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.125, allocations: 256.5 kB / 1.352 GB, free: 6.082 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/1.125, allocations: 118.9 kB / 1.352 GB, free: 5.965 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.125, allocations: 65.7 kB / 1.352 GB, free: 5.895 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002065/1.125, allocations: 358.8 kB / 1.352 GB, free: 5.535 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/1.125, allocations: 127.9 kB / 1.352 GB, free: 5.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/1.126, allocations: 201.9 kB / 1.352 GB, free: 5.191 MB / 1.076 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.002187/1.128, allocations: 0.8683 MB / 1.353 GB, free: 4.285 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.128, allocations: 3.938 kB / 1.353 GB, free: 4.281 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007516/1.129, allocations: 420.7 kB / 1.354 GB, free: 3.863 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.129, allocations: 8 kB / 1.354 GB, free: 3.855 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.129, allocations: 0 / 1.354 GB, free: 3.855 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.129, allocations: 7.938 kB / 1.354 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.129, allocations: 75.91 kB / 1.354 GB, free: 3.773 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/1.129, allocations: 4.188 kB / 1.354 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/1.13, allocations: 12 kB / 1.354 GB, free: 3.758 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/1.13, allocations: 15.98 kB / 1.354 GB, free: 3.742 MB / 1.076 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.0003592/1.13, allocations: 216.3 kB / 1.354 GB, free: 3.523 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.13, allocations: 55.61 kB / 1.354 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/1.13, allocations: 56.77 kB / 1.354 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.13, allocations: 4 kB / 1.354 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.13, allocations: 3.984 kB / 1.354 GB, free: 3.406 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006123/1.131, allocations: 408.3 kB / 1.355 GB, free: 2.977 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/1.133, allocations: 1.245 MB / 1.356 GB, free: 1.625 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.133, allocations: 4 kB / 1.356 GB, free: 1.621 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/1.133, allocations: 71.89 kB / 1.356 GB, free: 1.551 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.133, allocations: 8.438 kB / 1.356 GB, free: 1.543 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/1.133, allocations: 16 kB / 1.356 GB, free: 1.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.133, allocations: 4 kB / 1.356 GB, free: 1.523 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.133, allocations: 4 kB / 1.356 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009811/1.134, allocations: 0.7078 MB / 1.357 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/1.135, allocations: 172.7 kB / 1.357 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/1.135, allocations: 12 kB / 1.357 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/1.135, allocations: 21.11 kB / 1.357 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/1.135, allocations: 39.91 kB / 1.357 GB, free: 500 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/1.135, allocations: 16 kB / 1.357 GB, free: 484 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004069/1.136, allocations: 327.1 kB / 1.357 GB, free: 156 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.136, allocations: 0 / 1.357 GB, free: 156 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005725/1.136, allocations: 144 kB / 1.357 GB, free: 12 kB / 1.076 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.0004528/1.137, allocations: 178.7 kB / 1.357 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006287/1.137, allocations: 328.4 kB / 1.358 GB, free: 15.52 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.137, allocations: 7.938 kB / 1.358 GB, free: 15.51 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/1.138, allocations: 161 kB / 1.358 GB, free: 15.35 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.14, allocations: 369.6 kB / 1.358 GB, free: 15 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.142, allocations: 1.125 MB / 1.359 GB, free: 13.79 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/1.143, allocations: 0.8899 MB / 1.36 GB, free: 12.87 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005392/1.143, allocations: 132.6 kB / 1.36 GB, free: 12.74 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.143, allocations: 47.42 kB / 1.36 GB, free: 12.7 MB / 1.092 GB Notification: Performance of SimCode: time 1.333e-06/1.143, allocations: 4 kB / 1.36 GB, free: 12.7 MB / 1.092 GB Notification: Performance of Templates: time 0.02278/1.166, allocations: 11.17 MB / 1.371 GB, free: 1.703 MB / 1.092 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 -s cvode -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