Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001213/0.001213, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001119/0.001119, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.375/1.375, 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.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8834, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2317/1.115, allocations: 177.1 MB / 1.262 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007977/1.123, allocations: 4.405 MB / 1.266 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/1.124, allocations: 23.88 kB / 1.266 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.126, allocations: 365.8 kB / 1.266 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/1.129, allocations: 1.295 MB / 1.268 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/1.131, allocations: 0.7049 MB / 1.268 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002448/1.134, allocations: 1.633 MB / 1.27 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/1.135, allocations: 0.533 MB / 1.27 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/1.137, allocations: 0.6944 MB / 1.271 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/1.138, allocations: 0.4915 MB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/1.138, allocations: 56 kB / 1.272 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/1.141, allocations: 1.29 MB / 1.273 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/1.142, allocations: 239.3 kB / 1.273 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007156/1.142, allocations: 350.3 kB / 1.273 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/1.145, allocations: 1.274 MB / 1.275 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.145, allocations: 4 kB / 1.275 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.581e-06/1.145, allocations: 0 / 1.275 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.601e-05/1.145, allocations: 7.875 kB / 1.275 GB, free: 15.22 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.002328/1.148, allocations: 0.9969 MB / 1.276 GB, free: 14.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.148, allocations: 12.03 kB / 1.276 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/1.149, allocations: 175 kB / 1.276 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.15, allocations: 0.5558 MB / 1.276 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/1.15, allocations: 37 kB / 1.276 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-05/1.15, allocations: 43.94 kB / 1.276 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009498/1.151, allocations: 466.3 kB / 1.277 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.151, allocations: 0 / 1.277 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/1.151, allocations: 16 kB / 1.277 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/1.152, allocations: 21 kB / 1.277 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/1.152, allocations: 415.7 kB / 1.277 GB, free: 12.4 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.003055/1.155, allocations: 2.031 MB / 1.279 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/1.156, allocations: 299.2 kB / 1.28 GB, free: 9.891 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/1.156, allocations: 192.7 kB / 1.28 GB, free: 9.699 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/1.157, allocations: 190.2 kB / 1.28 GB, free: 9.477 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/1.157, allocations: 38.56 kB / 1.28 GB, free: 9.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/1.157, allocations: 0 / 1.28 GB, free: 9.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001656/1.158, allocations: 0.6442 MB / 1.281 GB, free: 8.758 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.158, allocations: 55.41 kB / 1.281 GB, free: 8.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/1.159, allocations: 442 kB / 1.281 GB, free: 8.246 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.159, allocations: 29.7 kB / 1.281 GB, free: 8.211 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/1.159, allocations: 288.2 kB / 1.281 GB, free: 7.926 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/1.159, allocations: 98.47 kB / 1.281 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.16, allocations: 69.69 kB / 1.282 GB, free: 7.754 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.16, allocations: 354.8 kB / 1.282 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/1.16, allocations: 136.7 kB / 1.282 GB, free: 7.262 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/1.16, allocations: 202.5 kB / 1.282 GB, free: 7.039 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/1.161, allocations: 337.5 kB / 1.282 GB, free: 6.691 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.161, allocations: 0 / 1.282 GB, free: 6.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007632/1.162, allocations: 408.7 kB / 1.283 GB, free: 6.285 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.162, allocations: 8 kB / 1.283 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.162, allocations: 0 / 1.283 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.162, allocations: 4.156 kB / 1.283 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/1.162, allocations: 71.91 kB / 1.283 GB, free: 6.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.162, allocations: 7.984 kB / 1.283 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/1.163, allocations: 35.83 kB / 1.283 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/1.163, allocations: 12 kB / 1.283 GB, free: 6.148 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004369/1.163, allocations: 295.7 kB / 1.283 GB, free: 5.855 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003235/1.163, allocations: 202.8 kB / 1.283 GB, free: 5.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005506/1.164, allocations: 329.2 kB / 1.284 GB, free: 5.293 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/1.164, allocations: 0 / 1.284 GB, free: 5.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006934/1.165, allocations: 396.8 kB / 1.284 GB, free: 4.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.165, allocations: 7.938 kB / 1.284 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.165, allocations: 4 kB / 1.284 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/1.165, allocations: 4.156 kB / 1.284 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.165, allocations: 67.89 kB / 1.284 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.165, allocations: 7.984 kB / 1.284 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/1.165, allocations: 35.73 kB / 1.284 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/1.165, allocations: 19.88 kB / 1.284 GB, free: 4.754 MB / 1.014 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.0001699/1.166, allocations: 200.1 kB / 1.285 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/1.166, allocations: 51.38 kB / 1.285 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/1.167, allocations: 415.2 kB / 1.285 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.167, allocations: 4 kB / 1.285 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.167, allocations: 3.938 kB / 1.285 GB, free: 4.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007152/1.167, allocations: 450.3 kB / 1.285 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.169, allocations: 1.13 MB / 1.286 GB, free: 2.395 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.169, allocations: 4 kB / 1.287 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/1.17, allocations: 59.91 kB / 1.287 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/1.17, allocations: 44.81 kB / 1.287 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/1.17, allocations: 8 kB / 1.287 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/1.171, allocations: 1.543 MB / 1.288 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.171, allocations: 8.016 kB / 1.288 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.173, allocations: 0.7011 MB / 1.289 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/1.173, allocations: 164.4 kB / 1.289 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/1.173, allocations: 12.06 kB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/1.173, allocations: 17.61 kB / 1.289 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/1.173, allocations: 35.91 kB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/1.173, allocations: 11.98 kB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004093/1.174, allocations: 310.9 kB / 1.289 GB, free: 15.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.174, allocations: 0 / 1.289 GB, free: 15.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009352/1.175, allocations: 303.3 kB / 1.29 GB, free: 15 MB / 1.029 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.0005139/1.175, allocations: 192.2 kB / 1.29 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.176, allocations: 495.9 kB / 1.29 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.176, allocations: 0 / 1.29 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/1.177, allocations: 286.5 kB / 1.291 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.178, allocations: 308.4 kB / 1.291 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/1.18, allocations: 1.116 MB / 1.292 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/1.181, allocations: 0.8975 MB / 1.293 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/1.181, allocations: 47.36 kB / 1.293 GB, free: 11.59 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.181, allocations: 0 / 1.293 GB, free: 11.59 MB / 1.029 GB Notification: Performance of Templates: time 0.01646/1.198, allocations: 9.683 MB / 1.302 GB, free: 1.984 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches