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.008732/0.008732, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001761/0.001762, allocations: 204.1 kB / 16.68 MB, free: 6.375 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.676/2.676, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.7928/1.091, allocations: 170.8 MB / 1.333 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006131/1.097, allocations: 3.382 MB / 1.337 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/1.098, allocations: 21.81 kB / 1.337 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009778/1.099, allocations: 311.9 kB / 1.337 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/1.102, allocations: 1.014 MB / 1.338 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/1.104, allocations: 0.6705 MB / 1.339 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002432/1.106, allocations: 1.526 MB / 1.34 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/1.107, allocations: 481.8 kB / 1.341 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/1.109, allocations: 0.5721 MB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/1.11, allocations: 461.7 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/1.11, allocations: 55.06 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/1.112, allocations: 0.8354 MB / 1.342 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/1.113, allocations: 237.9 kB / 1.343 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/1.113, allocations: 334.5 kB / 1.343 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/1.116, allocations: 1.137 MB / 1.344 GB, free: 11.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.116, allocations: 0 / 1.344 GB, free: 11.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/1.116, allocations: 1.594 kB / 1.344 GB, free: 11.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.914e-05/1.116, allocations: 0 / 1.344 GB, free: 11.16 MB / 1.029 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.002486/1.118, allocations: 0.9273 MB / 1.345 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.118, allocations: 10.44 kB / 1.345 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/1.12, allocations: 183.1 kB / 1.345 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.121, allocations: 0.519 MB / 1.346 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/1.121, allocations: 35.19 kB / 1.346 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/1.121, allocations: 39.84 kB / 1.346 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008826/1.122, allocations: 474.2 kB / 1.346 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.122, allocations: 4 kB / 1.346 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/1.122, allocations: 16.28 kB / 1.346 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/1.122, allocations: 20.59 kB / 1.346 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/1.123, allocations: 414.2 kB / 1.347 GB, free: 9.699 MB / 1.029 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.002953/1.126, allocations: 1.728 MB / 1.348 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/1.126, allocations: 300.1 kB / 1.349 GB, free: 8.418 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/1.127, allocations: 179.8 kB / 1.349 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.127, allocations: 98.81 kB / 1.349 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.127, allocations: 42.06 kB / 1.349 GB, free: 8.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/1.127, allocations: 0 / 1.349 GB, free: 8.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002312/1.129, allocations: 1.072 MB / 1.35 GB, free: 7.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/1.129, allocations: 56.78 kB / 1.35 GB, free: 7.516 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/1.13, allocations: 455.8 kB / 1.351 GB, free: 7.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/1.13, allocations: 36.11 kB / 1.351 GB, free: 7.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/1.13, allocations: 253.8 kB / 1.351 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.13, allocations: 124.5 kB / 1.351 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.13, allocations: 66.47 kB / 1.351 GB, free: 6.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.131, allocations: 359.2 kB / 1.351 GB, free: 6.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.131, allocations: 129 kB / 1.351 GB, free: 6.543 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/1.131, allocations: 203.7 kB / 1.352 GB, free: 6.422 MB / 1.029 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.002029/1.133, allocations: 0.8615 MB / 1.352 GB, free: 6.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.133, allocations: 1.594 kB / 1.352 GB, free: 6.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006882/1.134, allocations: 424.2 kB / 1.353 GB, free: 5.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.134, allocations: 5.594 kB / 1.353 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/1.134, allocations: 2.312 kB / 1.353 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.134, allocations: 3.5 kB / 1.353 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/1.134, allocations: 69.73 kB / 1.353 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.134, allocations: 5.062 kB / 1.353 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/1.135, allocations: 12.03 kB / 1.353 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/1.135, allocations: 18.66 kB / 1.353 GB, free: 5.801 MB / 1.029 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.0003175/1.135, allocations: 211.1 kB / 1.353 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.135, allocations: 59.08 kB / 1.353 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/1.135, allocations: 60.22 kB / 1.353 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.135, allocations: 3.344 kB / 1.353 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.135, allocations: 0 / 1.353 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005218/1.136, allocations: 415.7 kB / 1.354 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/1.138, allocations: 1.246 MB / 1.355 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.138, allocations: 7.094 kB / 1.355 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/1.138, allocations: 71.69 kB / 1.355 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.138, allocations: 5.594 kB / 1.355 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/1.138, allocations: 13.83 kB / 1.355 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.138, allocations: 6.125 kB / 1.355 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.139, allocations: 11.78 kB / 1.355 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/1.139, allocations: 0.7042 MB / 1.356 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/1.14, allocations: 170.7 kB / 1.356 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.14, allocations: 13.94 kB / 1.356 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/1.14, allocations: 19.28 kB / 1.356 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/1.14, allocations: 37.3 kB / 1.356 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/1.14, allocations: 20.59 kB / 1.356 GB, free: 3.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004081/1.141, allocations: 326.5 kB / 1.356 GB, free: 3.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.01e-07/1.141, allocations: 0 / 1.356 GB, free: 3.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006812/1.142, allocations: 140.4 kB / 1.356 GB, free: 3.719 MB / 1.029 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.0004502/1.142, allocations: 180.1 kB / 1.357 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006604/1.143, allocations: 334.5 kB / 1.357 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.143, allocations: 1.219 kB / 1.357 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/1.143, allocations: 160.7 kB / 1.357 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.145, allocations: 364.6 kB / 1.357 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/1.147, allocations: 1.142 MB / 1.359 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.148, allocations: 0.8829 MB / 1.359 GB, free: 1.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006097/1.148, allocations: 132 kB / 1.36 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/1.148, allocations: 46.62 kB / 1.36 GB, free: 1.828 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/1.148, allocations: 0 / 1.36 GB, free: 1.828 MB / 1.029 GB Notification: Performance of Templates: time 0.01935/1.168, allocations: 11.12 MB / 1.37 GB, free: 12.73 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches