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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001061/0.001061, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001102/0.001102, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.19 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2874, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.7442/1.032, allocations: 177.1 MB / 1.2 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00758/1.039, allocations: 4.391 MB / 1.204 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/1.04, allocations: 33.22 kB / 1.204 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/1.042, allocations: 360.5 kB / 1.204 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/1.045, allocations: 1.253 MB / 1.206 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/1.048, allocations: 0.6891 MB / 1.206 GB, free: 316 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002487/1.05, allocations: 1.627 MB / 1.208 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/1.051, allocations: 0.5311 MB / 1.208 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/1.052, allocations: 0.6725 MB / 1.209 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/1.053, allocations: 490 kB / 1.21 GB, free: 14.36 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/1.053, allocations: 53.31 kB / 1.21 GB, free: 14.36 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/1.056, allocations: 1.293 MB / 1.211 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/1.056, allocations: 231.4 kB / 1.211 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003966/1.056, allocations: 354.2 kB / 1.211 GB, free: 13.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/1.059, allocations: 1.281 MB / 1.213 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/1.059, allocations: 0 / 1.213 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.254e-06/1.059, allocations: 3.938 kB / 1.213 GB, free: 12.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.059, allocations: 0 / 1.213 GB, free: 12.45 MB / 0.92 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.00177/1.061, allocations: 1.007 MB / 1.214 GB, free: 11.63 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.061, allocations: 10.31 kB / 1.214 GB, free: 11.63 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/1.062, allocations: 168 kB / 1.214 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/1.063, allocations: 0.5597 MB / 1.214 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/1.063, allocations: 37.17 kB / 1.214 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/1.063, allocations: 39.59 kB / 1.214 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/1.064, allocations: 466.4 kB / 1.215 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.064, allocations: 3.938 kB / 1.215 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/1.064, allocations: 20.56 kB / 1.215 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.064, allocations: 16.25 kB / 1.215 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/1.065, allocations: 422 kB / 1.215 GB, free: 10.58 MB / 0.92 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.002641/1.067, allocations: 2.022 MB / 1.217 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/1.068, allocations: 298.2 kB / 1.218 GB, free: 8.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/1.068, allocations: 198.2 kB / 1.218 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/1.069, allocations: 187 kB / 1.218 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.069, allocations: 37.59 kB / 1.218 GB, free: 8.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/1.069, allocations: 0 / 1.218 GB, free: 8.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.00154/1.07, allocations: 0.6532 MB / 1.219 GB, free: 7.941 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/1.07, allocations: 53.88 kB / 1.219 GB, free: 7.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/1.071, allocations: 447.2 kB / 1.219 GB, free: 7.609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/1.071, allocations: 32.42 kB / 1.219 GB, free: 7.574 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/1.071, allocations: 280.8 kB / 1.219 GB, free: 7.324 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/1.071, allocations: 106.5 kB / 1.219 GB, free: 7.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.071, allocations: 63.61 kB / 1.22 GB, free: 7.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.071, allocations: 359 kB / 1.22 GB, free: 6.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/1.072, allocations: 133.4 kB / 1.22 GB, free: 6.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/1.072, allocations: 201.1 kB / 1.22 GB, free: 6.629 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/1.072, allocations: 327.8 kB / 1.221 GB, free: 6.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.072, allocations: 7.938 kB / 1.221 GB, free: 6.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006729/1.073, allocations: 404.2 kB / 1.221 GB, free: 6.168 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.073, allocations: 15.92 kB / 1.221 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.073, allocations: 0 / 1.221 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.073, allocations: 4 kB / 1.221 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.074, allocations: 63.91 kB / 1.221 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.074, allocations: 9.281 kB / 1.221 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/1.074, allocations: 39.67 kB / 1.221 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/1.074, allocations: 15.98 kB / 1.221 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004053/1.074, allocations: 288 kB / 1.221 GB, free: 5.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003037/1.075, allocations: 200.3 kB / 1.222 GB, free: 5.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004992/1.075, allocations: 329.2 kB / 1.222 GB, free: 5.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/1.075, allocations: 0 / 1.222 GB, free: 5.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006514/1.076, allocations: 401.8 kB / 1.222 GB, free: 4.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/1.076, allocations: 4 kB / 1.222 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.076, allocations: 7.938 kB / 1.222 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/1.076, allocations: 4 kB / 1.222 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/1.076, allocations: 68.06 kB / 1.222 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.076, allocations: 4 kB / 1.222 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/1.077, allocations: 40.53 kB / 1.222 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/1.077, allocations: 16 kB / 1.222 GB, free: 4.641 MB / 0.92 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.0001378/1.077, allocations: 192.2 kB / 1.223 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/1.077, allocations: 51.38 kB / 1.223 GB, free: 4.395 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/1.078, allocations: 423.1 kB / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/1.078, allocations: 4 kB / 1.223 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.078, allocations: 0 / 1.223 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006619/1.078, allocations: 446.3 kB / 1.223 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/1.08, allocations: 1.138 MB / 1.225 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.08, allocations: 8.219 kB / 1.225 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/1.081, allocations: 55.91 kB / 1.225 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/1.081, allocations: 44.83 kB / 1.225 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.081, allocations: 8 kB / 1.225 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/1.082, allocations: 1.548 MB / 1.226 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.082, allocations: 0 / 1.226 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.083, allocations: 0.7086 MB / 1.227 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.084, allocations: 164.5 kB / 1.227 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/1.084, allocations: 8 kB / 1.227 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/1.084, allocations: 16.59 kB / 1.227 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/1.084, allocations: 23.97 kB / 1.227 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/1.084, allocations: 15.94 kB / 1.227 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003376/1.084, allocations: 322.9 kB / 1.227 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.084, allocations: 0 / 1.227 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008175/1.085, allocations: 299.3 kB / 1.228 GB, free: 14.88 MB / 0.9356 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.0004568/1.086, allocations: 196.2 kB / 1.228 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009485/1.087, allocations: 495.6 kB / 1.228 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.087, allocations: 0.625 kB / 1.228 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004967/1.087, allocations: 293.1 kB / 1.229 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.089, allocations: 305 kB / 1.229 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/1.09, allocations: 1.072 MB / 1.23 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/1.091, allocations: 0.9092 MB / 1.231 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000445/1.091, allocations: 160.4 kB / 1.231 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/1.091, allocations: 39.44 kB / 1.231 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of SimCode: time 6.02e-07/1.091, allocations: 4 kB / 1.231 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.01789/1.109, allocations: 10.19 MB / 1.241 GB, free: 1.309 MB / 0.9356 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches