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.006197/0.006197, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001147/0.001147, allocations: 197 kB / 16.67 MB, free: 5.977 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.5/2.5, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.56 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3246, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.8802/1.205, allocations: 177.1 MB / 1.261 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008308/1.213, allocations: 4.394 MB / 1.265 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/1.214, allocations: 26.75 kB / 1.265 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.216, allocations: 360.8 kB / 1.266 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003485/1.219, allocations: 1.249 MB / 1.267 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/1.221, allocations: 0.7007 MB / 1.267 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002486/1.224, allocations: 1.618 MB / 1.269 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/1.225, allocations: 0.5317 MB / 1.27 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/1.226, allocations: 0.6898 MB / 1.27 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/1.228, allocations: 490.5 kB / 1.271 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/1.228, allocations: 54.81 kB / 1.271 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/1.231, allocations: 1.29 MB / 1.272 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005087/1.232, allocations: 241.2 kB / 1.272 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005903/1.232, allocations: 350.4 kB / 1.273 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/1.235, allocations: 1.278 MB / 1.274 GB, free: 3.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.235, allocations: 0.9375 kB / 1.274 GB, free: 3.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.235, allocations: 0 / 1.274 GB, free: 3.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.235, allocations: 0.8438 kB / 1.274 GB, free: 3.32 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.001885/1.237, allocations: 1 MB / 1.275 GB, free: 2.703 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.237, allocations: 10.5 kB / 1.275 GB, free: 2.703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.239, allocations: 175.8 kB / 1.275 GB, free: 2.664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.24, allocations: 0.562 MB / 1.276 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/1.24, allocations: 37.11 kB / 1.276 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.24, allocations: 44.91 kB / 1.276 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.241, allocations: 467.9 kB / 1.276 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.241, allocations: 1.297 kB / 1.276 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/1.241, allocations: 15.81 kB / 1.276 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.241, allocations: 16.92 kB / 1.276 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/1.242, allocations: 424.7 kB / 1.276 GB, free: 2.352 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.002723/1.245, allocations: 2.028 MB / 1.278 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/1.245, allocations: 301.1 kB / 1.279 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/1.246, allocations: 185 kB / 1.279 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/1.246, allocations: 190.2 kB / 1.279 GB, free: 17.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.246, allocations: 37.5 kB / 1.279 GB, free: 17.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/1.246, allocations: 1.031 kB / 1.279 GB, free: 17.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001737/1.248, allocations: 0.6403 MB / 1.28 GB, free: 16.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/1.248, allocations: 60.45 kB / 1.28 GB, free: 16.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/1.248, allocations: 450.7 kB / 1.28 GB, free: 16.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/1.248, allocations: 32.64 kB / 1.28 GB, free: 16.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/1.249, allocations: 280.7 kB / 1.281 GB, free: 16.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/1.249, allocations: 106.8 kB / 1.281 GB, free: 16.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/1.249, allocations: 62.77 kB / 1.281 GB, free: 16.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.249, allocations: 356 kB / 1.281 GB, free: 16.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/1.249, allocations: 132.2 kB / 1.281 GB, free: 16.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/1.25, allocations: 204.9 kB / 1.281 GB, free: 16.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/1.25, allocations: 332.2 kB / 1.282 GB, free: 16.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.25, allocations: 1.469 kB / 1.282 GB, free: 16.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008928/1.251, allocations: 403.8 kB / 1.282 GB, free: 15.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.251, allocations: 9.016 kB / 1.282 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.251, allocations: 2.375 kB / 1.282 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.251, allocations: 3.625 kB / 1.282 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/1.252, allocations: 72.41 kB / 1.282 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.252, allocations: 7.734 kB / 1.282 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/1.252, allocations: 33.88 kB / 1.282 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/1.252, allocations: 14.42 kB / 1.282 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004764/1.253, allocations: 294.1 kB / 1.283 GB, free: 15.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003179/1.253, allocations: 205.2 kB / 1.283 GB, free: 15.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005467/1.254, allocations: 327.6 kB / 1.283 GB, free: 15.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/1.254, allocations: 2.719 kB / 1.283 GB, free: 15.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006978/1.254, allocations: 401.9 kB / 1.283 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.254, allocations: 5.375 kB / 1.283 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.254, allocations: 4.125 kB / 1.283 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/1.254, allocations: 2.531 kB / 1.283 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/1.255, allocations: 73.16 kB / 1.283 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.255, allocations: 4.828 kB / 1.283 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/1.255, allocations: 35.34 kB / 1.284 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/1.255, allocations: 14.23 kB / 1.284 GB, free: 15.68 MB / 1.029 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.0001586/1.255, allocations: 200.7 kB / 1.284 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/1.255, allocations: 53.69 kB / 1.284 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008867/1.256, allocations: 417.6 kB / 1.284 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.256, allocations: 5.766 kB / 1.284 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.256, allocations: 0 / 1.284 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000727/1.257, allocations: 443.2 kB / 1.285 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/1.259, allocations: 1.135 MB / 1.286 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/1.259, allocations: 3.047 kB / 1.286 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.259, allocations: 58.73 kB / 1.286 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/1.26, allocations: 44.75 kB / 1.286 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/1.26, allocations: 16.17 kB / 1.286 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/1.261, allocations: 1.538 MB / 1.287 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.261, allocations: 6.094 kB / 1.287 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.263, allocations: 0.7013 MB / 1.288 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/1.263, allocations: 163.3 kB / 1.288 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/1.263, allocations: 11.06 kB / 1.288 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/1.263, allocations: 23.31 kB / 1.288 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.264, allocations: 23.02 kB / 1.288 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/1.264, allocations: 12.36 kB / 1.288 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005098/1.264, allocations: 317.3 kB / 1.289 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.42e-07/1.264, allocations: 2 kB / 1.289 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001105/1.265, allocations: 301.1 kB / 1.289 GB, free: 13.03 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.0005882/1.266, allocations: 193.5 kB / 1.289 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.267, allocations: 497.6 kB / 1.289 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.267, allocations: 0.8438 kB / 1.289 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/1.268, allocations: 293.4 kB / 1.29 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.269, allocations: 308.7 kB / 1.29 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.271, allocations: 1.078 MB / 1.291 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/1.272, allocations: 0.8997 MB / 1.292 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005904/1.272, allocations: 159.7 kB / 1.292 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.272, allocations: 40.84 kB / 1.292 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.272, allocations: 0 / 1.292 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Templates: time 0.02358/1.296, allocations: 10.43 MB / 1.302 GB, free: 11 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