Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_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.007086/0.007086, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001382/0.001383, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.69 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3001, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1886/0.4887, allocations: 170.8 MB / 1.255 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.4947, allocations: 3.38 MB / 1.258 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.4956, allocations: 19.88 kB / 1.258 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.4968, allocations: 318.1 kB / 1.258 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.4998, allocations: 1.015 MB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.5017, allocations: 0.6724 MB / 1.26 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.7199/1.222, allocations: 1.513 MB / 1.261 GB, free: 4.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.223, allocations: 475.8 kB / 1.262 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/1.224, allocations: 0.5657 MB / 1.262 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/1.226, allocations: 468.2 kB / 1.263 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/1.226, allocations: 55.41 kB / 1.263 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/1.228, allocations: 0.8305 MB / 1.264 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003728/1.228, allocations: 240.1 kB / 1.264 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005191/1.229, allocations: 336.6 kB / 1.264 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/1.231, allocations: 1.128 MB / 1.265 GB, free: 4.523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.231, allocations: 2.281 kB / 1.265 GB, free: 4.523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.231, allocations: 0 / 1.265 GB, free: 4.523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.231, allocations: 0 / 1.265 GB, free: 4.523 MB / 1.014 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.001587/1.233, allocations: 0.9131 MB / 1.266 GB, free: 3.984 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.233, allocations: 10.62 kB / 1.266 GB, free: 3.984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/1.234, allocations: 172.7 kB / 1.266 GB, free: 3.953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/1.235, allocations: 0.5233 MB / 1.267 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/1.235, allocations: 34.31 kB / 1.267 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/1.235, allocations: 43.25 kB / 1.267 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/1.236, allocations: 475 kB / 1.268 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.236, allocations: 3.094 kB / 1.268 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/1.236, allocations: 21.59 kB / 1.268 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.236, allocations: 24.28 kB / 1.268 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/1.237, allocations: 413.8 kB / 1.268 GB, free: 3.656 MB / 1.014 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.003112/1.24, allocations: 1.722 MB / 1.27 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/1.241, allocations: 291.8 kB / 1.27 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/1.241, allocations: 180.2 kB / 1.27 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/1.241, allocations: 100.8 kB / 1.27 GB, free: 2.773 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/1.242, allocations: 37.34 kB / 1.27 GB, free: 2.734 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/1.242, allocations: 1.125 kB / 1.27 GB, free: 2.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002325/1.244, allocations: 1.066 MB / 1.271 GB, free: 2.375 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.244, allocations: 57.33 kB / 1.271 GB, free: 2.312 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/1.245, allocations: 457.1 kB / 1.272 GB, free: 2.191 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/1.245, allocations: 32.86 kB / 1.272 GB, free: 2.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/1.245, allocations: 250.8 kB / 1.272 GB, free: 18.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.245, allocations: 116.9 kB / 1.272 GB, free: 17.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/1.245, allocations: 71.52 kB / 1.272 GB, free: 17.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.246, allocations: 358.4 kB / 1.273 GB, free: 17.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/1.246, allocations: 128.7 kB / 1.273 GB, free: 17.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/1.246, allocations: 197.2 kB / 1.273 GB, free: 17.57 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.00235/1.249, allocations: 0.8557 MB / 1.274 GB, free: 17.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.249, allocations: 2.562 kB / 1.274 GB, free: 17.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008286/1.249, allocations: 420.8 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.249, allocations: 9.844 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.249, allocations: 2.25 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.249, allocations: 4.031 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/1.25, allocations: 70.86 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.25, allocations: 8.391 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/1.25, allocations: 13.66 kB / 1.274 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/1.25, allocations: 11.09 kB / 1.274 GB, free: 17.35 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.0002881/1.251, allocations: 217.5 kB / 1.274 GB, free: 17.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/1.251, allocations: 54.23 kB / 1.274 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/1.251, allocations: 60.84 kB / 1.275 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.251, allocations: 4.219 kB / 1.275 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.251, allocations: 0.8438 kB / 1.275 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005431/1.251, allocations: 408.7 kB / 1.275 GB, free: 17.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.253, allocations: 1.242 MB / 1.276 GB, free: 16.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.253, allocations: 7.688 kB / 1.276 GB, free: 16.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/1.254, allocations: 69.7 kB / 1.276 GB, free: 16.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.254, allocations: 11.77 kB / 1.276 GB, free: 16.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.254, allocations: 13.47 kB / 1.276 GB, free: 16.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.254, allocations: 12.16 kB / 1.276 GB, free: 16.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.254, allocations: 5.25 kB / 1.276 GB, free: 16.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.255, allocations: 0.7025 MB / 1.277 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/1.255, allocations: 171.1 kB / 1.277 GB, free: 16.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-05/1.255, allocations: 14.28 kB / 1.277 GB, free: 16.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/1.256, allocations: 17.45 kB / 1.277 GB, free: 16.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/1.256, allocations: 33.58 kB / 1.277 GB, free: 16.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/1.256, allocations: 21.28 kB / 1.277 GB, free: 16.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004561/1.256, allocations: 331.5 kB / 1.278 GB, free: 16.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.256, allocations: 1.203 kB / 1.278 GB, free: 16.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009298/1.257, allocations: 145.3 kB / 1.278 GB, free: 16.09 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.0004704/1.258, allocations: 173 kB / 1.278 GB, free: 16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006959/1.258, allocations: 322.5 kB / 1.278 GB, free: 16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/1.258, allocations: 1.156 kB / 1.278 GB, free: 16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/1.259, allocations: 168.8 kB / 1.278 GB, free: 16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.261, allocations: 370.3 kB / 1.279 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/1.263, allocations: 1.113 MB / 1.28 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/1.263, allocations: 0.889 MB / 1.281 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005364/1.264, allocations: 130.4 kB / 1.281 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.264, allocations: 43.58 kB / 1.281 GB, free: 14.72 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.264, allocations: 0 / 1.281 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Templates: time 0.02346/1.287, allocations: 11.14 MB / 1.292 GB, free: 14.25 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches