Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009595/0.009595, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.761/2.761, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005848/0.0005848, allocations: 8 kB / 0.8728 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6722, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1996/0.8718, allocations: 172.6 MB / 1.192 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007906/0.8797, allocations: 4.411 MB / 1.196 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.8807, allocations: 27.81 kB / 1.196 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.8818, allocations: 294.4 kB / 1.196 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.8852, allocations: 1.191 MB / 1.197 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.8873, allocations: 0.6087 MB / 1.198 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00387/0.8912, allocations: 2.226 MB / 1.2 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.8923, allocations: 444.9 kB / 1.201 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.8939, allocations: 0.5833 MB / 1.201 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.8952, allocations: 493.3 kB / 1.202 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.8953, allocations: 31.94 kB / 1.202 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.898, allocations: 1.453 MB / 1.203 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.8983, allocations: 199.4 kB / 1.203 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.8987, allocations: 336.1 kB / 1.204 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.9007, allocations: 1.297 MB / 1.205 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9007, allocations: 0 / 1.205 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9007, allocations: 0 / 1.205 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.9007, allocations: 0 / 1.205 GB, free: 5.078 MB / 0.9512 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.001527/0.9022, allocations: 0.888 MB / 1.206 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.9023, allocations: 8.031 kB / 1.206 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.9034, allocations: 183 kB / 1.206 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.9042, allocations: 0.5168 MB / 1.206 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.9042, allocations: 37 kB / 1.206 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.9043, allocations: 43.98 kB / 1.206 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.9052, allocations: 474.3 kB / 1.207 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.9052, allocations: 3.938 kB / 1.207 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.9052, allocations: 16 kB / 1.207 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.9053, allocations: 21 kB / 1.207 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/0.9061, allocations: 431.7 kB / 1.207 GB, free: 2.379 MB / 0.9512 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.002677/0.9088, allocations: 2.031 MB / 1.209 GB, free: 172 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.9093, allocations: 306.7 kB / 1.21 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.9096, allocations: 190.5 kB / 1.21 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.9099, allocations: 198.2 kB / 1.21 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.91, allocations: 34.55 kB / 1.21 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.475e-06/0.91, allocations: 0 / 1.21 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.001647/0.9116, allocations: 0.6671 MB / 1.211 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.9117, allocations: 51.41 kB / 1.211 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.9122, allocations: 442 kB / 1.211 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.9122, allocations: 37.69 kB / 1.211 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.9124, allocations: 280.1 kB / 1.211 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/0.9125, allocations: 106.5 kB / 1.212 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.9126, allocations: 33.7 kB / 1.212 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9127, allocations: 350.8 kB / 1.212 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.913, allocations: 139.9 kB / 1.212 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.9133, allocations: 202.5 kB / 1.212 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.9139, allocations: 348.9 kB / 1.213 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.9139, allocations: 0 / 1.213 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007354/0.9147, allocations: 424.9 kB / 1.213 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.269e-05/0.9148, allocations: 130.3 kB / 1.213 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.9148, allocations: 0 / 1.213 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9148, allocations: 8.031 kB / 1.213 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.9152, allocations: 67.91 kB / 1.213 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.9152, allocations: 7.922 kB / 1.213 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.9157, allocations: 63.66 kB / 1.213 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.9158, allocations: 12 kB / 1.213 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.9158, allocations: 7.984 kB / 1.213 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006072/0.9164, allocations: 339.8 kB / 1.214 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.9164, allocations: 0 / 1.214 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.9164, allocations: 7.938 kB / 1.214 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.9167, allocations: 71.91 kB / 1.214 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.9168, allocations: 7.938 kB / 1.214 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.9172, allocations: 59.7 kB / 1.214 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.9173, allocations: 16 kB / 1.214 GB, free: 11.43 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0002766/0.9175, allocations: 285 kB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.9176, allocations: 47.44 kB / 1.214 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.9185, allocations: 425.1 kB / 1.214 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.9185, allocations: 4 kB / 1.214 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.9185, allocations: 4 kB / 1.214 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006892/0.9192, allocations: 457.4 kB / 1.215 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.9209, allocations: 1.145 MB / 1.216 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.921, allocations: 0 / 1.216 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.9212, allocations: 63.91 kB / 1.216 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.9215, allocations: 41.05 kB / 1.216 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.9215, allocations: 15.98 kB / 1.216 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.9228, allocations: 1.437 MB / 1.218 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9228, allocations: 8.094 kB / 1.218 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.9239, allocations: 0.7108 MB / 1.218 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.9241, allocations: 160.5 kB / 1.218 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.9242, allocations: 11.94 kB / 1.218 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.9246, allocations: 43.89 kB / 1.218 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.9247, allocations: 31.91 kB / 1.218 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.9248, allocations: 15.94 kB / 1.218 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000348/0.9251, allocations: 314.9 kB / 1.219 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9251, allocations: 0 / 1.219 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009018/0.926, allocations: 299.3 kB / 1.219 GB, free: 5.641 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004595/0.9265, allocations: 191.4 kB / 1.219 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009636/0.9275, allocations: 0.5005 MB / 1.22 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9275, allocations: 0 / 1.22 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.928, allocations: 303.4 kB / 1.22 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.9298, allocations: 302.8 kB / 1.22 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.9319, allocations: 1.351 MB / 1.222 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.9326, allocations: 0.8939 MB / 1.223 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.9335, allocations: 164.4 kB / 1.223 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.9336, allocations: 43.42 kB / 1.223 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/0.9337, allocations: 0 / 1.223 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.01842/0.9521, allocations: 9.787 MB / 1.232 GB, free: 8.188 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches