Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00795/0.00795, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001412/0.001412, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.12 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.9538/1.284, allocations: 177.1 MB / 1.381 GB, free: 9.945 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009369/1.294, allocations: 4.405 MB / 1.385 GB, free: 6.395 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/1.295, allocations: 24.03 kB / 1.385 GB, free: 6.387 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/1.297, allocations: 361.3 kB / 1.385 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/1.302, allocations: 1.249 MB / 1.387 GB, free: 5.129 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00275/1.305, allocations: 0.7002 MB / 1.387 GB, free: 4.605 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003171/1.308, allocations: 1.621 MB / 1.389 GB, free: 3.672 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/1.309, allocations: 0.5187 MB / 1.389 GB, free: 3.363 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/1.312, allocations: 0.6997 MB / 1.39 GB, free: 2.938 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/1.314, allocations: 495.6 kB / 1.391 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002882/1.314, allocations: 52.91 kB / 1.391 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003791/1.318, allocations: 1.29 MB / 1.392 GB, free: 1.934 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005785/1.318, allocations: 235.7 kB / 1.392 GB, free: 1.777 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/1.319, allocations: 349.2 kB / 1.392 GB, free: 1.559 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/1.323, allocations: 1.277 MB / 1.394 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.323, allocations: 0 / 1.394 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.906e-06/1.323, allocations: 4 kB / 1.394 GB, free: 0.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.243e-05/1.324, allocations: 0 / 1.394 GB, free: 0.75 MB / 1.076 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.003513/1.327, allocations: 1.002 MB / 1.395 GB, free: 15.93 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.327, allocations: 9.812 kB / 1.395 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.329, allocations: 177.4 kB / 1.395 GB, free: 15.85 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.33, allocations: 0.552 MB / 1.395 GB, free: 15.4 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/1.33, allocations: 33.78 kB / 1.395 GB, free: 15.38 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.33, allocations: 45.88 kB / 1.395 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.331, allocations: 470.6 kB / 1.396 GB, free: 15.1 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.331, allocations: 3.938 kB / 1.396 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/1.331, allocations: 16.81 kB / 1.396 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/1.331, allocations: 18.69 kB / 1.396 GB, free: 15.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/1.332, allocations: 421.7 kB / 1.396 GB, free: 14.88 MB / 1.092 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.003591/1.336, allocations: 2.032 MB / 1.398 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/1.336, allocations: 289.1 kB / 1.399 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/1.337, allocations: 196 kB / 1.399 GB, free: 12.88 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/1.337, allocations: 187.3 kB / 1.399 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.337, allocations: 37.72 kB / 1.399 GB, free: 12.64 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.745e-06/1.337, allocations: 0 / 1.399 GB, free: 12.64 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.001817/1.339, allocations: 0.6461 MB / 1.4 GB, free: 12.25 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.339, allocations: 58.69 kB / 1.4 GB, free: 12.18 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/1.34, allocations: 446.9 kB / 1.4 GB, free: 11.91 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/1.34, allocations: 32.2 kB / 1.4 GB, free: 11.87 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/1.34, allocations: 282.1 kB / 1.4 GB, free: 11.62 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.34, allocations: 101.4 kB / 1.4 GB, free: 11.54 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.34, allocations: 67.8 kB / 1.401 GB, free: 11.49 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.34, allocations: 357.3 kB / 1.401 GB, free: 11.14 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/1.341, allocations: 134.2 kB / 1.401 GB, free: 11.07 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/1.341, allocations: 205.6 kB / 1.401 GB, free: 10.93 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/1.342, allocations: 339.6 kB / 1.402 GB, free: 10.72 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.342, allocations: 0 / 1.402 GB, free: 10.72 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007361/1.342, allocations: 401.3 kB / 1.402 GB, free: 10.52 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.342, allocations: 12.98 kB / 1.402 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.342, allocations: 3 kB / 1.402 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.342, allocations: 6.688 kB / 1.402 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/1.343, allocations: 70.53 kB / 1.402 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.343, allocations: 2.531 kB / 1.402 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/1.343, allocations: 35.8 kB / 1.402 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/1.343, allocations: 22.11 kB / 1.402 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004215/1.344, allocations: 288.8 kB / 1.402 GB, free: 10.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002994/1.344, allocations: 200.9 kB / 1.403 GB, free: 10.12 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005777/1.345, allocations: 329.3 kB / 1.403 GB, free: 9.93 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/1.345, allocations: 0 / 1.403 GB, free: 9.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007837/1.345, allocations: 410.1 kB / 1.403 GB, free: 9.715 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.345, allocations: 5.375 kB / 1.403 GB, free: 9.715 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/1.345, allocations: 3.938 kB / 1.403 GB, free: 9.711 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.346, allocations: 6.328 kB / 1.403 GB, free: 9.707 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/1.346, allocations: 64.75 kB / 1.403 GB, free: 9.695 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.346, allocations: 4.844 kB / 1.403 GB, free: 9.695 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/1.346, allocations: 37.88 kB / 1.403 GB, free: 9.672 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/1.346, allocations: 13.34 kB / 1.403 GB, free: 9.668 MB / 1.092 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.0001691/1.347, allocations: 197.7 kB / 1.404 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.347, allocations: 51.47 kB / 1.404 GB, free: 9.445 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/1.348, allocations: 413.9 kB / 1.404 GB, free: 9.203 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.348, allocations: 7.516 kB / 1.404 GB, free: 9.199 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.348, allocations: 4 kB / 1.404 GB, free: 9.195 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007437/1.348, allocations: 440.7 kB / 1.404 GB, free: 8.887 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/1.35, allocations: 1.144 MB / 1.406 GB, free: 8.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.35, allocations: 2.25 kB / 1.406 GB, free: 8.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/1.351, allocations: 54.88 kB / 1.406 GB, free: 8.008 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/1.351, allocations: 51.7 kB / 1.406 GB, free: 7.977 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/1.351, allocations: 8.312 kB / 1.406 GB, free: 7.973 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.352, allocations: 1.549 MB / 1.407 GB, free: 6.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.352, allocations: 2.531 kB / 1.407 GB, free: 6.43 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.353, allocations: 0.6898 MB / 1.408 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/1.353, allocations: 165.6 kB / 1.408 GB, free: 5.809 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/1.354, allocations: 12.47 kB / 1.408 GB, free: 5.801 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/1.354, allocations: 22.88 kB / 1.408 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/1.354, allocations: 26.34 kB / 1.408 GB, free: 5.773 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/1.354, allocations: 14.03 kB / 1.408 GB, free: 5.77 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003432/1.354, allocations: 316.9 kB / 1.408 GB, free: 5.578 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.354, allocations: 0 / 1.408 GB, free: 5.578 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000912/1.355, allocations: 295.2 kB / 1.409 GB, free: 5.527 MB / 1.092 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.0004909/1.356, allocations: 189 kB / 1.409 GB, free: 5.391 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009947/1.357, allocations: 0.4928 MB / 1.409 GB, free: 5.164 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.357, allocations: 0 / 1.409 GB, free: 5.164 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/1.357, allocations: 287.2 kB / 1.41 GB, free: 4.973 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.359, allocations: 307.4 kB / 1.41 GB, free: 4.812 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/1.361, allocations: 1.082 MB / 1.411 GB, free: 4.074 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/1.361, allocations: 0.8997 MB / 1.412 GB, free: 3.273 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004958/1.362, allocations: 164.3 kB / 1.412 GB, free: 3.199 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.362, allocations: 44.06 kB / 1.412 GB, free: 3.191 MB / 1.092 GB Notification: Performance of SimCode: time 3.11e-07/1.362, allocations: 0 / 1.412 GB, free: 3.191 MB / 1.092 GB Notification: Performance of Templates: time 0.02087/1.383, allocations: 10.43 MB / 1.422 GB, free: 10.52 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches