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.006161/0.006161, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00118/0.00118, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.202/2.202, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.9133, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2284/1.142, allocations: 177.1 MB / 1.261 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007353/1.149, allocations: 4.402 MB / 1.265 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009469/1.15, allocations: 27.81 kB / 1.265 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/1.151, allocations: 369.8 kB / 1.266 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003198/1.154, allocations: 1.314 MB / 1.267 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/1.156, allocations: 0.6932 MB / 1.268 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001909/1.158, allocations: 1.624 MB / 1.269 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/1.159, allocations: 0.5291 MB / 1.27 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/1.16, allocations: 0.7005 MB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/1.161, allocations: 492.5 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/1.161, allocations: 52 kB / 1.271 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/1.164, allocations: 1.294 MB / 1.272 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/1.164, allocations: 231.4 kB / 1.272 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/1.164, allocations: 350.3 kB / 1.273 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/1.166, allocations: 1.286 MB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.166, allocations: 0 / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/1.166, allocations: 3.938 kB / 1.274 GB, free: 15.22 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.166, allocations: 4 kB / 1.274 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.001609/1.168, allocations: 1.027 MB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.168, allocations: 8.031 kB / 1.275 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/1.169, allocations: 183.4 kB / 1.275 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/1.17, allocations: 0.5562 MB / 1.276 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/1.17, allocations: 29 kB / 1.276 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/1.17, allocations: 40 kB / 1.276 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/1.171, allocations: 482.3 kB / 1.276 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.171, allocations: 0 / 1.276 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/1.171, allocations: 23.98 kB / 1.276 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/1.171, allocations: 13 kB / 1.276 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/1.172, allocations: 415.7 kB / 1.277 GB, free: 12.36 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.002746/1.174, allocations: 2.032 MB / 1.279 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/1.175, allocations: 290 kB / 1.279 GB, free: 9.863 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/1.175, allocations: 196.7 kB / 1.279 GB, free: 9.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/1.176, allocations: 202.1 kB / 1.279 GB, free: 9.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.176, allocations: 34.55 kB / 1.279 GB, free: 9.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 3.116e-06/1.176, allocations: 3.984 kB / 1.279 GB, free: 9.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001626/1.177, allocations: 0.6367 MB / 1.28 GB, free: 8.723 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/1.177, allocations: 63.34 kB / 1.28 GB, free: 8.648 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/1.178, allocations: 450 kB / 1.28 GB, free: 8.195 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/1.178, allocations: 33.7 kB / 1.28 GB, free: 8.156 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/1.178, allocations: 284.6 kB / 1.281 GB, free: 7.875 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/1.178, allocations: 111 kB / 1.281 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/1.178, allocations: 61.7 kB / 1.281 GB, free: 7.699 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.178, allocations: 358.8 kB / 1.281 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/1.179, allocations: 132.8 kB / 1.281 GB, free: 7.207 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/1.179, allocations: 202.5 kB / 1.282 GB, free: 6.984 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/1.18, allocations: 333.5 kB / 1.282 GB, free: 6.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.18, allocations: 4 kB / 1.282 GB, free: 6.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007268/1.18, allocations: 421 kB / 1.282 GB, free: 6.219 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.18, allocations: 4 kB / 1.282 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.18, allocations: 7.938 kB / 1.282 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.18, allocations: 0 / 1.282 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/1.181, allocations: 67.97 kB / 1.282 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.181, allocations: 4 kB / 1.282 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/1.181, allocations: 35.77 kB / 1.282 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/1.181, allocations: 24.11 kB / 1.282 GB, free: 6.078 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004085/1.182, allocations: 291.8 kB / 1.283 GB, free: 5.789 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002977/1.182, allocations: 194.8 kB / 1.283 GB, free: 5.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005358/1.183, allocations: 329.2 kB / 1.283 GB, free: 5.234 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/1.183, allocations: 0 / 1.283 GB, free: 5.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007015/1.183, allocations: 405.1 kB / 1.284 GB, free: 4.832 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.183, allocations: 15.88 kB / 1.284 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/1.183, allocations: 0 / 1.284 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/1.183, allocations: 4 kB / 1.284 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/1.184, allocations: 67.91 kB / 1.284 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.184, allocations: 4 kB / 1.284 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/1.184, allocations: 39.75 kB / 1.284 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/1.184, allocations: 16.16 kB / 1.284 GB, free: 4.688 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.0001454/1.184, allocations: 196.2 kB / 1.284 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/1.184, allocations: 55.61 kB / 1.284 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008481/1.185, allocations: 415.1 kB / 1.284 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/1.185, allocations: 4 kB / 1.284 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.185, allocations: 0 / 1.284 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006915/1.186, allocations: 442.4 kB / 1.285 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.188, allocations: 1.134 MB / 1.286 GB, free: 2.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.188, allocations: 3.938 kB / 1.286 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/1.188, allocations: 55.91 kB / 1.286 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/1.188, allocations: 53.05 kB / 1.286 GB, free: 2.223 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/1.188, allocations: 11.98 kB / 1.286 GB, free: 2.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/1.19, allocations: 1.543 MB / 1.287 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.19, allocations: 0 / 1.287 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.191, allocations: 0.7015 MB / 1.288 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/1.191, allocations: 172.7 kB / 1.288 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/1.191, allocations: 12.06 kB / 1.288 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.192, allocations: 19.92 kB / 1.288 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/1.192, allocations: 27.91 kB / 1.288 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/1.192, allocations: 12 kB / 1.288 GB, free: 15.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003433/1.192, allocations: 318.9 kB / 1.289 GB, free: 15.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.192, allocations: 0 / 1.289 GB, free: 15.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008494/1.193, allocations: 299.5 kB / 1.289 GB, free: 14.93 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.0004259/1.193, allocations: 185.3 kB / 1.289 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009674/1.194, allocations: 0.4954 MB / 1.29 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.194, allocations: 0 / 1.29 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/1.195, allocations: 293.9 kB / 1.29 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.196, allocations: 299.1 kB / 1.29 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/1.198, allocations: 1.09 MB / 1.291 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.198, allocations: 0.9053 MB / 1.292 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004933/1.199, allocations: 164.4 kB / 1.292 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.199, allocations: 43.44 kB / 1.292 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/1.199, allocations: 0 / 1.292 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Templates: time 0.01843/1.217, allocations: 10.26 MB / 1.302 GB, free: 1.301 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches