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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001123/0.001123, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001504/0.001504, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.588/2.588, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6934, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1779/0.8714, allocations: 155.2 MB / 1.106 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005844/0.8773, allocations: 3.185 MB / 1.109 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.8782, allocations: 15.88 kB / 1.109 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009182/0.8792, allocations: 214.6 kB / 1.109 GB, free: 0.5156 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002502/0.8817, allocations: 0.7542 MB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.8834, allocations: 498.7 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.8858, allocations: 1.784 MB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.8866, allocations: 367.2 kB / 1.113 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.888, allocations: 481.9 kB / 1.113 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.8891, allocations: 450.3 kB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.8893, allocations: 23.94 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.8909, allocations: 431 kB / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.8912, allocations: 203.4 kB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.8916, allocations: 141.4 kB / 1.114 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.8928, allocations: 0.7755 MB / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8928, allocations: 0 / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8928, allocations: 0 / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.8929, allocations: 0 / 1.115 GB, free: 10.64 MB / 0.8731 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.001696/0.8946, allocations: 0.7987 MB / 1.116 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.8946, allocations: 8.031 kB / 1.116 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.8959, allocations: 179.1 kB / 1.116 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.8968, allocations: 493.7 kB / 1.116 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.8969, allocations: 29 kB / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.897, allocations: 44 kB / 1.117 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008356/0.8978, allocations: 470.3 kB / 1.117 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.8978, allocations: 0 / 1.117 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.8979, allocations: 31.89 kB / 1.117 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.8979, allocations: 17 kB / 1.117 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.8986, allocations: 411.7 kB / 1.117 GB, free: 8.102 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.002561/0.9012, allocations: 1.728 MB / 1.119 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.9017, allocations: 300.3 kB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.902, allocations: 176.8 kB / 1.12 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.9021, allocations: 97.62 kB / 1.12 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.9022, allocations: 42.5 kB / 1.12 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.9022, allocations: 4 kB / 1.12 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001979/0.9042, allocations: 1.058 MB / 1.121 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.9042, allocations: 55.41 kB / 1.121 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.9047, allocations: 445.9 kB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.9048, allocations: 37.7 kB / 1.121 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.9049, allocations: 252.1 kB / 1.121 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.9051, allocations: 122.3 kB / 1.122 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.9051, allocations: 4 kB / 1.122 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9052, allocations: 358.8 kB / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.9054, allocations: 127.9 kB / 1.122 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.9057, allocations: 193.7 kB / 1.122 GB, free: 2.863 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.001423/0.9071, allocations: 0.5603 MB / 1.123 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9071, allocations: 0 / 1.123 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006367/0.9078, allocations: 408.9 kB / 1.123 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9078, allocations: 11.97 kB / 1.123 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9078, allocations: 7.938 kB / 1.123 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.9078, allocations: 4 kB / 1.123 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.9082, allocations: 71.91 kB / 1.123 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9082, allocations: 7.938 kB / 1.123 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.9086, allocations: 31.97 kB / 1.123 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.9086, allocations: 12 kB / 1.123 GB, free: 1.734 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.9089, allocations: 217.6 kB / 1.124 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.909, allocations: 51.34 kB / 1.124 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.9091, allocations: 60.75 kB / 1.124 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.9091, allocations: 4 kB / 1.124 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9091, allocations: 0 / 1.124 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000484/0.9096, allocations: 408.5 kB / 1.124 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.9114, allocations: 1.245 MB / 1.125 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.9115, allocations: 4 kB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.9118, allocations: 71.86 kB / 1.125 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.9118, allocations: 8.5 kB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.9119, allocations: 8 kB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.606e-05/0.9119, allocations: 15.94 kB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9119, allocations: 4 kB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008737/0.9128, allocations: 0.6892 MB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.913, allocations: 172.4 kB / 1.126 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.9131, allocations: 12 kB / 1.126 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.9135, allocations: 35.88 kB / 1.126 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.9136, allocations: 31.94 kB / 1.126 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.9136, allocations: 23.98 kB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003547/0.914, allocations: 319.1 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.01e-07/0.914, allocations: 0 / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005567/0.9146, allocations: 144 kB / 1.127 GB, free: 14 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003792/0.9149, allocations: 184.5 kB / 1.127 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.9155, allocations: 312.8 kB / 1.127 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9155, allocations: 0 / 1.127 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.9158, allocations: 160.9 kB / 1.127 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.9175, allocations: 359.2 kB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.9194, allocations: 1.332 MB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.9199, allocations: 0.8822 MB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.9204, allocations: 128.6 kB / 1.13 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.9206, allocations: 51.42 kB / 1.13 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/0.9206, allocations: 0 / 1.13 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of Templates: time 0.01768/0.9383, allocations: 10.2 MB / 1.14 GB, free: 500 kB / 0.8887 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