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.001134/0.001134, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001311/0.001311, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.27/2.27, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 66.77 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3022, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.7514/1.054, allocations: 170.8 MB / 1.117 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006249/1.06, allocations: 3.381 MB / 1.12 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/1.061, allocations: 23.83 kB / 1.12 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/1.063, allocations: 316.8 kB / 1.121 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/1.066, allocations: 1.009 MB / 1.122 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/1.068, allocations: 0.6615 MB / 1.122 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002654/1.071, allocations: 1.533 MB / 1.124 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009611/1.072, allocations: 486.5 kB / 1.124 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.073, allocations: 0.5576 MB / 1.125 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.074, allocations: 469.3 kB / 1.125 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/1.075, allocations: 54.31 kB / 1.125 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/1.077, allocations: 0.8302 MB / 1.126 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/1.077, allocations: 238.9 kB / 1.126 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000558/1.078, allocations: 341 kB / 1.127 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/1.08, allocations: 1.121 MB / 1.128 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.08, allocations: 1.156 kB / 1.128 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/1.08, allocations: 0 / 1.128 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.08, allocations: 0 / 1.128 GB, free: 4.773 MB / 0.8575 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.001997/1.082, allocations: 0.9151 MB / 1.129 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.083, allocations: 8.562 kB / 1.129 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/1.084, allocations: 172.8 kB / 1.129 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/1.085, allocations: 0.4965 MB / 1.129 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.085, allocations: 32.78 kB / 1.129 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/1.085, allocations: 47.83 kB / 1.129 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/1.086, allocations: 476.1 kB / 1.13 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.086, allocations: 1.094 kB / 1.13 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/1.086, allocations: 18.78 kB / 1.13 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/1.086, allocations: 17.83 kB / 1.13 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/1.087, allocations: 411.6 kB / 1.13 GB, free: 19.86 MB / 0.8731 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.002711/1.09, allocations: 1.751 MB / 1.132 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/1.09, allocations: 300.6 kB / 1.132 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/1.09, allocations: 180 kB / 1.132 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/1.091, allocations: 98.72 kB / 1.133 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.091, allocations: 44.53 kB / 1.133 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.835e-06/1.091, allocations: 0 / 1.133 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002159/1.093, allocations: 1.052 MB / 1.134 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.093, allocations: 54.88 kB / 1.134 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/1.093, allocations: 458.2 kB / 1.134 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/1.093, allocations: 35.17 kB / 1.134 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/1.094, allocations: 248.9 kB / 1.134 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.094, allocations: 119.4 kB / 1.134 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.094, allocations: 67.39 kB / 1.135 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.094, allocations: 356.2 kB / 1.135 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.094, allocations: 128.8 kB / 1.135 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/1.095, allocations: 191.4 kB / 1.135 GB, free: 17.74 MB / 0.8731 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.001883/1.096, allocations: 0.8616 MB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.096, allocations: 0.875 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006259/1.097, allocations: 419.5 kB / 1.136 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.097, allocations: 9 kB / 1.136 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.097, allocations: 1.25 kB / 1.136 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.097, allocations: 2.656 kB / 1.136 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.097, allocations: 70.3 kB / 1.137 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.097, allocations: 7.516 kB / 1.137 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/1.098, allocations: 10.2 kB / 1.137 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/1.098, allocations: 20.5 kB / 1.137 GB, free: 17.49 MB / 0.8731 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.0002959/1.098, allocations: 215.3 kB / 1.137 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/1.098, allocations: 60.59 kB / 1.137 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/1.098, allocations: 57.52 kB / 1.137 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.098, allocations: 3.562 kB / 1.137 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.099, allocations: 0 / 1.137 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005112/1.099, allocations: 407.8 kB / 1.137 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/1.101, allocations: 1.25 MB / 1.138 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.101, allocations: 7.969 kB / 1.138 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/1.101, allocations: 72.39 kB / 1.139 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.101, allocations: 5.188 kB / 1.139 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/1.101, allocations: 12.78 kB / 1.139 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/1.101, allocations: 5.344 kB / 1.139 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.101, allocations: 11.28 kB / 1.139 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/1.102, allocations: 0.7018 MB / 1.139 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/1.102, allocations: 170.1 kB / 1.139 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/1.102, allocations: 15.25 kB / 1.139 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/1.103, allocations: 18.66 kB / 1.139 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/1.103, allocations: 33.59 kB / 1.14 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/1.103, allocations: 30.33 kB / 1.14 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003593/1.103, allocations: 326.9 kB / 1.14 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.103, allocations: 0 / 1.14 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006249/1.104, allocations: 146.5 kB / 1.14 GB, free: 16.21 MB / 0.8731 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.0004226/1.104, allocations: 170.2 kB / 1.14 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000589/1.105, allocations: 339.9 kB / 1.14 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.105, allocations: 2.328 kB / 1.14 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/1.105, allocations: 167 kB / 1.141 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.107, allocations: 367.8 kB / 1.141 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/1.109, allocations: 1.173 MB / 1.142 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/1.109, allocations: 0.8829 MB / 1.143 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.109, allocations: 43.84 kB / 1.143 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/1.109, allocations: 0 / 1.143 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.01698/1.126, allocations: 8.615 MB / 1.151 GB, free: 13.98 MB / 0.8731 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