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.00121/0.00121, allocations: 102.3 kB / 16.4 MB, free: 6.461 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.00122/0.00122, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.407/1.407, allocations: 222.9 MB / 241 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8767, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2189/1.096, allocations: 177.1 MB / 1.262 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007916/1.104, allocations: 4.402 MB / 1.266 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/1.105, allocations: 31.88 kB / 1.266 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/1.106, allocations: 349.8 kB / 1.266 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00374/1.11, allocations: 1.256 MB / 1.267 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/1.112, allocations: 0.6928 MB / 1.268 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002546/1.115, allocations: 1.629 MB / 1.27 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/1.116, allocations: 0.5291 MB / 1.27 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/1.118, allocations: 0.6866 MB / 1.271 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/1.119, allocations: 0.4888 MB / 1.271 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/1.119, allocations: 52 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/1.122, allocations: 1.282 MB / 1.273 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/1.123, allocations: 239.3 kB / 1.273 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006305/1.123, allocations: 350.3 kB / 1.273 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/1.126, allocations: 1.278 MB / 1.275 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.126, allocations: 4 kB / 1.275 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.355e-06/1.126, allocations: 3.938 kB / 1.275 GB, free: 15.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.301e-05/1.126, allocations: 0 / 1.275 GB, free: 15.28 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.001931/1.128, allocations: 1.001 MB / 1.276 GB, free: 14.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.128, allocations: 12.03 kB / 1.276 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.129, allocations: 174.9 kB / 1.276 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.13, allocations: 0.5558 MB / 1.276 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/1.13, allocations: 37 kB / 1.276 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/1.13, allocations: 40 kB / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000892/1.131, allocations: 470.2 kB / 1.277 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.131, allocations: 0 / 1.277 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/1.131, allocations: 16 kB / 1.277 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/1.131, allocations: 20.98 kB / 1.277 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/1.132, allocations: 423.7 kB / 1.277 GB, free: 12.45 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.00285/1.135, allocations: 2.024 MB / 1.279 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/1.136, allocations: 301.2 kB / 1.279 GB, free: 9.949 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/1.136, allocations: 188.7 kB / 1.28 GB, free: 9.762 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/1.136, allocations: 190.2 kB / 1.28 GB, free: 9.539 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.136, allocations: 42.56 kB / 1.28 GB, free: 9.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/1.136, allocations: 0 / 1.28 GB, free: 9.488 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001643/1.138, allocations: 0.6442 MB / 1.28 GB, free: 8.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.138, allocations: 55.41 kB / 1.281 GB, free: 8.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/1.138, allocations: 446 kB / 1.281 GB, free: 8.301 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/1.138, allocations: 29.7 kB / 1.281 GB, free: 8.266 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/1.139, allocations: 280.2 kB / 1.281 GB, free: 7.988 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.139, allocations: 102.5 kB / 1.281 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.139, allocations: 65.7 kB / 1.281 GB, free: 7.816 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.139, allocations: 358.8 kB / 1.282 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/1.139, allocations: 128.8 kB / 1.282 GB, free: 7.328 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/1.14, allocations: 210.5 kB / 1.282 GB, free: 7.098 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/1.14, allocations: 337.5 kB / 1.282 GB, free: 6.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.14, allocations: 0 / 1.282 GB, free: 6.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007331/1.141, allocations: 408.7 kB / 1.283 GB, free: 6.344 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.141, allocations: 8 kB / 1.283 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.141, allocations: 0 / 1.283 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.141, allocations: 7.984 kB / 1.283 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/1.141, allocations: 72.06 kB / 1.283 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.141, allocations: 4 kB / 1.283 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/1.142, allocations: 31.77 kB / 1.283 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/1.142, allocations: 12 kB / 1.283 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004311/1.142, allocations: 295.8 kB / 1.283 GB, free: 5.918 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000304/1.143, allocations: 202.7 kB / 1.283 GB, free: 5.695 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005405/1.143, allocations: 329.2 kB / 1.284 GB, free: 5.355 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/1.143, allocations: 0 / 1.284 GB, free: 5.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007502/1.144, allocations: 400.8 kB / 1.284 GB, free: 4.957 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.144, allocations: 7.938 kB / 1.284 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.144, allocations: 4 kB / 1.284 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/1.144, allocations: 3.938 kB / 1.284 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/1.144, allocations: 68.06 kB / 1.284 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/1.144, allocations: 4 kB / 1.284 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/1.145, allocations: 43.66 kB / 1.284 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/1.145, allocations: 15.98 kB / 1.284 GB, free: 4.812 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.0001598/1.145, allocations: 204.1 kB / 1.284 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.145, allocations: 51.38 kB / 1.284 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/1.146, allocations: 415.2 kB / 1.285 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.146, allocations: 4 kB / 1.285 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.146, allocations: 0 / 1.285 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006645/1.147, allocations: 446.3 kB / 1.285 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/1.149, allocations: 1.134 MB / 1.286 GB, free: 2.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.149, allocations: 4 kB / 1.286 GB, free: 2.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.149, allocations: 59.91 kB / 1.286 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/1.149, allocations: 40.83 kB / 1.287 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/1.149, allocations: 8 kB / 1.287 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.15, allocations: 1.547 MB / 1.288 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.15, allocations: 4.031 kB / 1.288 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.151, allocations: 0.7051 MB / 1.289 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/1.152, allocations: 164.6 kB / 1.289 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/1.152, allocations: 8 kB / 1.289 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/1.152, allocations: 15.98 kB / 1.289 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/1.152, allocations: 35.83 kB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.152, allocations: 12.06 kB / 1.289 GB, free: 15.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003369/1.153, allocations: 314.9 kB / 1.289 GB, free: 15.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.153, allocations: 0 / 1.289 GB, free: 15.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008719/1.154, allocations: 299.3 kB / 1.29 GB, free: 15.05 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.0004942/1.154, allocations: 192.8 kB / 1.29 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.155, allocations: 495.8 kB / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.155, allocations: 128 / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005073/1.156, allocations: 287.1 kB / 1.29 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.157, allocations: 313.5 kB / 1.291 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.159, allocations: 1.113 MB / 1.292 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/1.159, allocations: 0.9053 MB / 1.293 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/1.16, allocations: 43.44 kB / 1.293 GB, free: 11.65 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/1.16, allocations: 0 / 1.293 GB, free: 11.65 MB / 1.029 GB Notification: Performance of Templates: time 0.01484/1.174, allocations: 9.672 MB / 1.302 GB, free: 2.051 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