Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.4 kB / 16.41 MB, free: 6.488 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.001316/0.001317, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 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.428/2.428, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.84 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9032, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2034/1.107, allocations: 190.5 MB / 1.353 GB, free: 4.621 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01008/1.117, allocations: 5.705 MB / 1.359 GB, free: 14.9 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.118, allocations: 43.75 kB / 1.359 GB, free: 14.86 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/1.12, allocations: 0.5942 MB / 1.36 GB, free: 14.26 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/1.126, allocations: 1.903 MB / 1.361 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/1.129, allocations: 1.19 MB / 1.363 GB, free: 11.17 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004433/1.134, allocations: 2.965 MB / 1.365 GB, free: 8.195 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/1.136, allocations: 1.126 MB / 1.367 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/1.138, allocations: 1.094 MB / 1.368 GB, free: 5.953 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/1.141, allocations: 0.9687 MB / 1.369 GB, free: 4.988 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004265/1.141, allocations: 124 kB / 1.369 GB, free: 4.867 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/1.144, allocations: 1.454 MB / 1.37 GB, free: 3.41 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009409/1.145, allocations: 0.5689 MB / 1.371 GB, free: 2.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/1.147, allocations: 0.7273 MB / 1.371 GB, free: 2.109 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0046/1.152, allocations: 2.337 MB / 1.374 GB, free: 15.77 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.152, allocations: 0 / 1.374 GB, free: 15.77 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.983e-06/1.152, allocations: 0 / 1.374 GB, free: 15.77 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.31e-05/1.152, allocations: 0 / 1.374 GB, free: 15.77 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003933/1.156, allocations: 1.616 MB / 1.375 GB, free: 14.09 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.156, allocations: 12.58 kB / 1.375 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/1.158, allocations: 326.2 kB / 1.376 GB, free: 13.76 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.16, allocations: 0.9175 MB / 1.376 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/1.16, allocations: 78 kB / 1.377 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/1.161, allocations: 92 kB / 1.377 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/1.163, allocations: 1.081 MB / 1.378 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.163, allocations: 0 / 1.378 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.163, allocations: 44 kB / 1.378 GB, free: 11.51 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.857e-05/1.163, allocations: 45.98 kB / 1.378 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/1.165, allocations: 0.9837 MB / 1.379 GB, free: 10.48 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.007544/1.172, allocations: 4.227 MB / 1.383 GB, free: 5.949 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/1.173, allocations: 0.5934 MB / 1.383 GB, free: 5.352 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/1.174, allocations: 353.7 kB / 1.384 GB, free: 5.008 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/1.174, allocations: 101.5 kB / 1.384 GB, free: 4.891 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.174, allocations: 50.98 kB / 1.384 GB, free: 4.832 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/1.174, allocations: 0 / 1.384 GB, free: 4.832 MB / 1.107 GB Notification: Performance of matching and sorting (n=55): time 0.004389/1.179, allocations: 2.189 MB / 1.386 GB, free: 2.527 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.179, allocations: 59.91 kB / 1.386 GB, free: 2.457 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.18, allocations: 0.8882 MB / 1.387 GB, free: 1.562 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/1.18, allocations: 37.7 kB / 1.387 GB, free: 1.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/1.181, allocations: 0.5145 MB / 1.387 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/1.181, allocations: 197.2 kB / 1.388 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/1.181, allocations: 130.6 kB / 1.388 GB, free: 0.668 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.181, allocations: 341.9 kB / 1.388 GB, free: 336 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/1.182, allocations: 285.8 kB / 1.388 GB, free: 52 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/1.182, allocations: 436.9 kB / 1.389 GB, free: 15.57 MB / 1.123 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.003906/1.186, allocations: 1.737 MB / 1.391 GB, free: 13.77 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.186, allocations: 0 / 1.391 GB, free: 13.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001629/1.188, allocations: 0.9257 MB / 1.391 GB, free: 12.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.188, allocations: 8 kB / 1.391 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.188, allocations: 4 kB / 1.391 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/1.188, allocations: 103 kB / 1.392 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/1.189, allocations: 167.8 kB / 1.392 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/1.193, allocations: 4.629 MB / 1.396 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/1.194, allocations: 31.92 kB / 1.396 GB, free: 7.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/1.194, allocations: 28 kB / 1.396 GB, free: 7.43 MB / 1.123 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006315/1.194, allocations: 345.6 kB / 1.397 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/1.195, allocations: 106.7 kB / 1.397 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/1.195, allocations: 113.2 kB / 1.397 GB, free: 6.863 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.195, allocations: 11.98 kB / 1.397 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.195, allocations: 0 / 1.397 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/1.196, allocations: 0.7575 MB / 1.398 GB, free: 6.039 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/1.199, allocations: 1.988 MB / 1.4 GB, free: 3.949 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.2, allocations: 4 kB / 1.4 GB, free: 3.945 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/1.2, allocations: 148.2 kB / 1.4 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/1.2, allocations: 44.83 kB / 1.4 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/1.2, allocations: 16 kB / 1.4 GB, free: 3.738 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/1.202, allocations: 1.613 MB / 1.401 GB, free: 1.984 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.202, allocations: 4 kB / 1.401 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.204, allocations: 1.204 MB / 1.402 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/1.204, allocations: 259.9 kB / 1.403 GB, free: 456 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/1.205, allocations: 16 kB / 1.403 GB, free: 440 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/1.205, allocations: 27.97 kB / 1.403 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.206, allocations: 47.89 kB / 1.403 GB, free: 364 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.206, allocations: 31.98 kB / 1.403 GB, free: 332 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009809/1.207, allocations: 0.6161 MB / 1.403 GB, free: 15.71 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.81e-07/1.207, allocations: 0 / 1.403 GB, free: 15.71 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001144/1.208, allocations: 300 kB / 1.404 GB, free: 15.42 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005484/1.208, allocations: 204.1 kB / 1.404 GB, free: 15.22 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001728/1.21, allocations: 1.014 MB / 1.405 GB, free: 14.17 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.21, allocations: 0 / 1.405 GB, free: 14.17 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006673/1.211, allocations: 447.8 kB / 1.405 GB, free: 13.72 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.214, allocations: 0.6513 MB / 1.406 GB, free: 13.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/1.218, allocations: 2.189 MB / 1.408 GB, free: 10.82 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009378/1.219, allocations: 1.166 MB / 1.409 GB, free: 9.629 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.219, allocations: 79.44 kB / 1.409 GB, free: 9.551 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/1.219, allocations: 0 / 1.409 GB, free: 9.551 MB / 1.139 GB Notification: Performance of Templates: time 0.03647/1.256, allocations: 27.02 MB / 1.436 GB, free: 14.67 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]