Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00574/0.005745, allocations: 101.7 kB / 15.73 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.001214/0.001214, allocations: 191.5 kB / 16.67 MB, free: 5.93 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7931, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2764/1.07, allocations: 190.4 MB / 1.352 GB, free: 4.707 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008825/1.078, allocations: 5.696 MB / 1.358 GB, free: 15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/1.08, allocations: 43.81 kB / 1.358 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/1.082, allocations: 0.563 MB / 1.359 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/1.086, allocations: 1.607 MB / 1.36 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/1.09, allocations: 1.202 MB / 1.361 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003395/1.093, allocations: 2.496 MB / 1.364 GB, free: 9.074 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/1.095, allocations: 1 MB / 1.365 GB, free: 8.055 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/1.096, allocations: 1.023 MB / 1.366 GB, free: 7.027 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/1.098, allocations: 0.8201 MB / 1.367 GB, free: 6.211 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/1.098, allocations: 100 kB / 1.367 GB, free: 6.113 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/1.101, allocations: 1.524 MB / 1.368 GB, free: 4.586 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005285/1.102, allocations: 0.4909 MB / 1.369 GB, free: 4.094 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007306/1.103, allocations: 0.6183 MB / 1.369 GB, free: 3.473 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/1.105, allocations: 2.122 MB / 1.371 GB, free: 1.344 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.105, allocations: 0 / 1.371 GB, free: 1.344 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/1.105, allocations: 0 / 1.371 GB, free: 1.344 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.486e-05/1.106, allocations: 0 / 1.371 GB, free: 1.344 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002239/1.108, allocations: 1.509 MB / 1.373 GB, free: 15.77 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.108, allocations: 12.92 kB / 1.373 GB, free: 15.76 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/1.11, allocations: 331 kB / 1.373 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/1.111, allocations: 0.8199 MB / 1.374 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/1.111, allocations: 66 kB / 1.374 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.111, allocations: 87.98 kB / 1.374 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.113, allocations: 1.074 MB / 1.375 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.113, allocations: 4 kB / 1.375 GB, free: 13.31 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/1.113, allocations: 39.94 kB / 1.375 GB, free: 13.27 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/1.113, allocations: 37.98 kB / 1.375 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.115, allocations: 0.8236 MB / 1.376 GB, free: 12.41 MB / 1.107 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.005301/1.12, allocations: 4.265 MB / 1.38 GB, free: 7.879 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/1.121, allocations: 371.8 kB / 1.381 GB, free: 7.508 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/1.121, allocations: 210.8 kB / 1.381 GB, free: 7.301 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/1.121, allocations: 113 kB / 1.381 GB, free: 7.172 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.121, allocations: 42.56 kB / 1.381 GB, free: 7.121 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 3.496e-06/1.121, allocations: 0 / 1.381 GB, free: 7.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.002475/1.124, allocations: 1.353 MB / 1.382 GB, free: 5.715 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.124, allocations: 59.16 kB / 1.382 GB, free: 5.645 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.125, allocations: 1.001 MB / 1.383 GB, free: 4.621 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.125, allocations: 37.7 kB / 1.383 GB, free: 4.578 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/1.126, allocations: 0.4924 MB / 1.384 GB, free: 4.082 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.126, allocations: 142.8 kB / 1.384 GB, free: 3.941 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/1.126, allocations: 126.2 kB / 1.384 GB, free: 3.812 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.126, allocations: 338 kB / 1.384 GB, free: 3.477 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/1.126, allocations: 233.2 kB / 1.385 GB, free: 3.25 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/1.127, allocations: 423.8 kB / 1.385 GB, free: 2.758 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/1.13, allocations: 1.213 MB / 1.386 GB, free: 1.449 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.13, allocations: 0 / 1.386 GB, free: 1.449 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001409/1.131, allocations: 0.7775 MB / 1.387 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.131, allocations: 8 kB / 1.387 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/1.131, allocations: 4 kB / 1.387 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.131, allocations: 11.94 kB / 1.387 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/1.132, allocations: 148.1 kB / 1.387 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.132, allocations: 11.94 kB / 1.387 GB, free: 496 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/1.133, allocations: 55.89 kB / 1.387 GB, free: 440 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/1.133, allocations: 35.98 kB / 1.387 GB, free: 404 kB / 1.107 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004272/1.133, allocations: 305.6 kB / 1.387 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.133, allocations: 107.5 kB / 1.388 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/1.133, allocations: 104.8 kB / 1.388 GB, free: 15.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.133, allocations: 4 kB / 1.388 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.133, allocations: 4 kB / 1.388 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007028/1.134, allocations: 0.6791 MB / 1.388 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/1.137, allocations: 1.578 MB / 1.39 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.137, allocations: 7.984 kB / 1.39 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/1.137, allocations: 83.84 kB / 1.39 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.137, allocations: 4.5 kB / 1.39 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/1.137, allocations: 16 kB / 1.39 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/1.137, allocations: 15.92 kB / 1.39 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.137, allocations: 11.88 kB / 1.39 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.138, allocations: 0.8339 MB / 1.391 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/1.139, allocations: 240.4 kB / 1.391 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.139, allocations: 19.92 kB / 1.391 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/1.139, allocations: 36.53 kB / 1.391 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/1.139, allocations: 39.84 kB / 1.391 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/1.139, allocations: 23.98 kB / 1.391 GB, free: 12.01 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001008/1.14, allocations: 0.7116 MB / 1.392 GB, free: 11.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.141, allocations: 4 kB / 1.392 GB, free: 11.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007935/1.141, allocations: 251.9 kB / 1.392 GB, free: 11.04 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0004503/1.142, allocations: 206.8 kB / 1.392 GB, free: 10.83 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000959/1.143, allocations: 0.5079 MB / 1.393 GB, free: 10.32 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.143, allocations: 0 / 1.393 GB, free: 10.32 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/1.143, allocations: 186.4 kB / 1.393 GB, free: 10.14 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.146, allocations: 0.6171 MB / 1.394 GB, free: 9.539 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/1.148, allocations: 1.866 MB / 1.395 GB, free: 7.59 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/1.149, allocations: 1.099 MB / 1.396 GB, free: 6.461 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007569/1.15, allocations: 248.3 kB / 1.397 GB, free: 6.215 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.15, allocations: 67.44 kB / 1.397 GB, free: 6.148 MB / 1.123 GB Notification: Performance of SimCode: time 5.01e-07/1.15, allocations: 8 kB / 1.397 GB, free: 6.141 MB / 1.123 GB Notification: Performance of Templates: time 0.0333/1.183, allocations: 19.9 MB / 1.416 GB, free: 2.527 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches