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.001862/0.001863, allocations: 100.6 kB / 16.4 MB, free: 6.461 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.002126/0.002127, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.326/2.326, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9211, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2124/1.134, allocations: 170.8 MB / 1.255 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006624/1.14, allocations: 3.374 MB / 1.259 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/1.141, allocations: 23.88 kB / 1.259 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/1.143, allocations: 326.1 kB / 1.259 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/1.146, allocations: 1.054 MB / 1.26 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/1.148, allocations: 0.6735 MB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002557/1.151, allocations: 1.529 MB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009623/1.152, allocations: 485.4 kB / 1.263 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/1.153, allocations: 0.5876 MB / 1.263 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.155, allocations: 464.9 kB / 1.264 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/1.155, allocations: 52 kB / 1.264 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/1.157, allocations: 0.834 MB / 1.265 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/1.158, allocations: 251.3 kB / 1.265 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/1.158, allocations: 326.6 kB / 1.265 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/1.161, allocations: 1.139 MB / 1.266 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.161, allocations: 0 / 1.266 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.644e-06/1.161, allocations: 0 / 1.266 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.11e-05/1.161, allocations: 0 / 1.266 GB, free: 7.871 MB / 0.9981 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.002002/1.163, allocations: 0.9154 MB / 1.267 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.163, allocations: 8.031 kB / 1.267 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/1.164, allocations: 175.1 kB / 1.267 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/1.165, allocations: 0.5247 MB / 1.268 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/1.165, allocations: 33 kB / 1.268 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.401e-05/1.165, allocations: 47.98 kB / 1.268 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/1.166, allocations: 470.4 kB / 1.268 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.166, allocations: 4 kB / 1.268 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/1.166, allocations: 24 kB / 1.268 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/1.166, allocations: 16.94 kB / 1.268 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/1.167, allocations: 411.7 kB / 1.269 GB, free: 5.164 MB / 0.9981 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.003095/1.17, allocations: 1.716 MB / 1.27 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/1.171, allocations: 299.1 kB / 1.271 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/1.171, allocations: 188.7 kB / 1.271 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/1.171, allocations: 97.08 kB / 1.271 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.171, allocations: 42.5 kB / 1.271 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/1.171, allocations: 0 / 1.271 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002292/1.173, allocations: 1.058 MB / 1.272 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/1.174, allocations: 55.41 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/1.174, allocations: 453.9 kB / 1.273 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/1.174, allocations: 33.7 kB / 1.273 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.175, allocations: 248.1 kB / 1.273 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.175, allocations: 126.3 kB / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.175, allocations: 69.61 kB / 1.273 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.175, allocations: 358.8 kB / 1.273 GB, free: 192 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/1.175, allocations: 123.9 kB / 1.273 GB, free: 68 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/1.175, allocations: 193.9 kB / 1.274 GB, free: 15.86 MB / 1.014 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.001967/1.177, allocations: 0.8585 MB / 1.274 GB, free: 14.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.177, allocations: 4 kB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006396/1.178, allocations: 420.5 kB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.178, allocations: 10.33 kB / 1.275 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.178, allocations: 4 kB / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.178, allocations: 0 / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/1.178, allocations: 71.91 kB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.179, allocations: 7.938 kB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/1.179, allocations: 12.12 kB / 1.275 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/1.179, allocations: 20 kB / 1.275 GB, free: 14.41 MB / 1.014 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.0002826/1.179, allocations: 209.7 kB / 1.275 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.179, allocations: 59.31 kB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/1.18, allocations: 60.77 kB / 1.275 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.18, allocations: 0 / 1.275 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.18, allocations: 4 kB / 1.275 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004973/1.18, allocations: 404.6 kB / 1.276 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/1.182, allocations: 1.245 MB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.182, allocations: 4 kB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/1.182, allocations: 71.91 kB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.182, allocations: 11.94 kB / 1.277 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/1.183, allocations: 12.5 kB / 1.277 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.183, allocations: 15.91 kB / 1.277 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.183, allocations: 8 kB / 1.277 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/1.183, allocations: 0.7114 MB / 1.278 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/1.184, allocations: 164.5 kB / 1.278 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.184, allocations: 15.98 kB / 1.278 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/1.184, allocations: 13.5 kB / 1.278 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.184, allocations: 31.91 kB / 1.278 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/1.184, allocations: 27.98 kB / 1.278 GB, free: 11.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005572/1.185, allocations: 331.1 kB / 1.278 GB, free: 10.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.185, allocations: 0 / 1.278 GB, free: 10.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005947/1.186, allocations: 140 kB / 1.278 GB, free: 10.68 MB / 1.014 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.0005512/1.186, allocations: 177.6 kB / 1.279 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006562/1.187, allocations: 315.9 kB / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.187, allocations: 0 / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/1.187, allocations: 167.7 kB / 1.279 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.189, allocations: 362.6 kB / 1.279 GB, free: 9.688 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/1.191, allocations: 1.171 MB / 1.281 GB, free: 8.434 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/1.192, allocations: 0.8784 MB / 1.281 GB, free: 7.527 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/1.192, allocations: 43.44 kB / 1.281 GB, free: 7.484 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.192, allocations: 7.938 kB / 1.281 GB, free: 7.477 MB / 1.014 GB Notification: Performance of Templates: time 0.01561/1.208, allocations: 8.658 MB / 1.29 GB, free: 14.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches