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.001535/0.001535, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.001635/0.001636, allocations: 192 kB / 17.34 MB, free: 5.711 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.446/1.446, allocations: 222.9 MB / 241 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.753/2.753, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002356, allocations: 71.88 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8476, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2399/1.088, allocations: 190.4 MB / 1.353 GB, free: 4.711 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01114/1.099, allocations: 5.703 MB / 1.359 GB, free: 15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.101, allocations: 35.81 kB / 1.359 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/1.103, allocations: 0.5981 MB / 1.359 GB, free: 14.36 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005001/1.108, allocations: 1.665 MB / 1.361 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/1.111, allocations: 1.214 MB / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004089/1.115, allocations: 2.505 MB / 1.365 GB, free: 8.965 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.117, allocations: 0.9935 MB / 1.366 GB, free: 7.953 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/1.119, allocations: 1.066 MB / 1.367 GB, free: 6.883 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.121, allocations: 0.8149 MB / 1.367 GB, free: 6.07 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/1.122, allocations: 104 kB / 1.368 GB, free: 5.969 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/1.125, allocations: 1.543 MB / 1.369 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005597/1.125, allocations: 494.7 kB / 1.37 GB, free: 3.938 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007772/1.126, allocations: 0.6222 MB / 1.37 GB, free: 3.312 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/1.129, allocations: 2.11 MB / 1.372 GB, free: 1.195 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.129, allocations: 0 / 1.372 GB, free: 1.195 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.944e-06/1.13, allocations: 0 / 1.372 GB, free: 1.195 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.536e-05/1.13, allocations: 0 / 1.372 GB, free: 1.195 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.002686/1.132, allocations: 1.513 MB / 1.374 GB, free: 15.62 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.132, allocations: 8.922 kB / 1.374 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.134, allocations: 343 kB / 1.374 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.136, allocations: 0.8201 MB / 1.375 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/1.136, allocations: 61.94 kB / 1.375 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.136, allocations: 87.98 kB / 1.375 GB, free: 14.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.138, allocations: 1.074 MB / 1.376 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.138, allocations: 4 kB / 1.376 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/1.138, allocations: 40 kB / 1.376 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-05/1.138, allocations: 30 kB / 1.376 GB, free: 13.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/1.14, allocations: 0.8352 MB / 1.377 GB, free: 12.25 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.006247/1.146, allocations: 4.269 MB / 1.381 GB, free: 7.715 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/1.147, allocations: 364.7 kB / 1.381 GB, free: 7.352 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/1.147, allocations: 212 kB / 1.382 GB, free: 7.145 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/1.147, allocations: 105.1 kB / 1.382 GB, free: 7.023 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.147, allocations: 38.56 kB / 1.382 GB, free: 6.977 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.893e-06/1.147, allocations: 0 / 1.382 GB, free: 6.977 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.002722/1.15, allocations: 1.349 MB / 1.383 GB, free: 5.574 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.15, allocations: 63.16 kB / 1.383 GB, free: 5.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.151, allocations: 1.001 MB / 1.384 GB, free: 4.477 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/1.151, allocations: 33.7 kB / 1.384 GB, free: 4.438 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/1.152, allocations: 0.5002 MB / 1.385 GB, free: 3.934 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/1.152, allocations: 146.8 kB / 1.385 GB, free: 3.789 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.152, allocations: 130.2 kB / 1.385 GB, free: 3.656 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.153, allocations: 326 kB / 1.385 GB, free: 3.332 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/1.153, allocations: 237.1 kB / 1.385 GB, free: 3.102 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/1.154, allocations: 427.8 kB / 1.386 GB, free: 2.605 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.002741/1.156, allocations: 1.216 MB / 1.387 GB, free: 1.297 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.156, allocations: 4 kB / 1.387 GB, free: 1.293 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001575/1.158, allocations: 0.7695 MB / 1.388 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.158, allocations: 4.625 kB / 1.388 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.158, allocations: 12 kB / 1.388 GB, free: 0.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/1.158, allocations: 19.86 kB / 1.388 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/1.159, allocations: 135.8 kB / 1.388 GB, free: 356 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/1.159, allocations: 19.92 kB / 1.388 GB, free: 336 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/1.16, allocations: 55.89 kB / 1.388 GB, free: 280 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/1.16, allocations: 24 kB / 1.388 GB, free: 256 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.0005678/1.16, allocations: 311.8 kB / 1.388 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.161, allocations: 103.3 kB / 1.388 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/1.161, allocations: 113 kB / 1.389 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.161, allocations: 4 kB / 1.389 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.161, allocations: 4 kB / 1.389 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008413/1.162, allocations: 0.6713 MB / 1.389 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/1.164, allocations: 1.586 MB / 1.391 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.164, allocations: 12.06 kB / 1.391 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/1.165, allocations: 87.89 kB / 1.391 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.165, allocations: 4 kB / 1.391 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/1.165, allocations: 12 kB / 1.391 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.165, allocations: 7.938 kB / 1.391 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/1.165, allocations: 11.92 kB / 1.391 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/1.166, allocations: 0.8356 MB / 1.392 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/1.167, allocations: 240.4 kB / 1.392 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.167, allocations: 19.94 kB / 1.392 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/1.167, allocations: 35.97 kB / 1.392 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/1.167, allocations: 35.83 kB / 1.392 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/1.167, allocations: 31.98 kB / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001115/1.169, allocations: 0.7038 MB / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.169, allocations: 0 / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008912/1.169, allocations: 259.9 kB / 1.393 GB, free: 10.89 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.000542/1.17, allocations: 212.2 kB / 1.393 GB, free: 10.68 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009923/1.171, allocations: 0.4963 MB / 1.394 GB, free: 10.18 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.171, allocations: 4 kB / 1.394 GB, free: 10.18 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/1.171, allocations: 190 kB / 1.394 GB, free: 9.996 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.174, allocations: 0.6179 MB / 1.394 GB, free: 9.387 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/1.177, allocations: 1.866 MB / 1.396 GB, free: 7.438 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/1.178, allocations: 1.099 MB / 1.397 GB, free: 6.309 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008099/1.179, allocations: 252.3 kB / 1.398 GB, free: 6.059 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/1.179, allocations: 71.44 kB / 1.398 GB, free: 5.988 MB / 1.123 GB Notification: Performance of SimCode: time 7.62e-07/1.179, allocations: 0 / 1.398 GB, free: 5.988 MB / 1.123 GB Notification: Performance of Templates: time 0.03939/1.218, allocations: 19.98 MB / 1.417 GB, free: 2.293 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches