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.001644/0.001644, allocations: 114.2 kB / 16.41 MB, free: 5.988 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.001843/0.001844, allocations: 184.4 kB / 17.34 MB, free: 5.602 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.09 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.615/2.615, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 59.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8828/0.8851, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.209/1.094, allocations: 190.5 MB / 1.353 GB, free: 4.59 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00967/1.104, allocations: 5.708 MB / 1.359 GB, free: 14.87 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/1.106, allocations: 43.75 kB / 1.359 GB, free: 14.83 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/1.108, allocations: 0.5942 MB / 1.36 GB, free: 14.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005304/1.113, allocations: 1.898 MB / 1.361 GB, free: 12.32 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/1.116, allocations: 1.19 MB / 1.363 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004142/1.12, allocations: 2.953 MB / 1.365 GB, free: 8.18 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/1.122, allocations: 1.121 MB / 1.367 GB, free: 7.039 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/1.124, allocations: 1.113 MB / 1.368 GB, free: 5.922 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/1.127, allocations: 0.9539 MB / 1.369 GB, free: 4.969 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004204/1.128, allocations: 124 kB / 1.369 GB, free: 4.848 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/1.131, allocations: 1.454 MB / 1.37 GB, free: 3.391 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008658/1.132, allocations: 0.565 MB / 1.371 GB, free: 2.824 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/1.133, allocations: 0.7272 MB / 1.371 GB, free: 2.094 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004263/1.138, allocations: 2.34 MB / 1.374 GB, free: 15.75 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.138, allocations: 4 kB / 1.374 GB, free: 15.74 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.964e-06/1.138, allocations: 0 / 1.374 GB, free: 15.74 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.582e-05/1.138, allocations: 0 / 1.374 GB, free: 15.74 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.003541/1.141, allocations: 1.663 MB / 1.375 GB, free: 14.02 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.141, allocations: 16.88 kB / 1.375 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/1.144, allocations: 330.9 kB / 1.376 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/1.146, allocations: 0.9144 MB / 1.376 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/1.146, allocations: 77.98 kB / 1.377 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/1.146, allocations: 99.95 kB / 1.377 GB, free: 12.55 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.148, allocations: 1.089 MB / 1.378 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.148, allocations: 0 / 1.378 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.148, allocations: 44 kB / 1.378 GB, free: 11.42 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/1.148, allocations: 37.98 kB / 1.378 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.15, allocations: 0.9915 MB / 1.379 GB, free: 10.39 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.007094/1.157, allocations: 4.232 MB / 1.383 GB, free: 5.855 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.158, allocations: 0.5946 MB / 1.383 GB, free: 5.258 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/1.159, allocations: 351 kB / 1.384 GB, free: 4.914 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/1.159, allocations: 105.5 kB / 1.384 GB, free: 4.793 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/1.159, allocations: 46.94 kB / 1.384 GB, free: 4.738 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 3.436e-06/1.159, allocations: 0 / 1.384 GB, free: 4.738 MB / 1.107 GB Notification: Performance of matching and sorting (n=55): time 0.004858/1.164, allocations: 2.21 MB / 1.386 GB, free: 2.414 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.164, allocations: 63.91 kB / 1.386 GB, free: 2.34 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.165, allocations: 0.8843 MB / 1.387 GB, free: 1.449 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/1.165, allocations: 41.7 kB / 1.387 GB, free: 1.402 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/1.166, allocations: 0.5235 MB / 1.388 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/1.166, allocations: 206.2 kB / 1.388 GB, free: 0.668 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/1.166, allocations: 134.6 kB / 1.388 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.166, allocations: 330 kB / 1.388 GB, free: 208 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/1.167, allocations: 289.8 kB / 1.389 GB, free: 15.92 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/1.168, allocations: 432.9 kB / 1.389 GB, free: 15.45 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.004384/1.172, allocations: 1.753 MB / 1.391 GB, free: 13.62 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.172, allocations: 0 / 1.391 GB, free: 13.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001848/1.174, allocations: 0.9264 MB / 1.392 GB, free: 12.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.174, allocations: 8 kB / 1.392 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.174, allocations: 4 kB / 1.392 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/1.174, allocations: 102.8 kB / 1.392 GB, free: 12.56 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/1.175, allocations: 159.8 kB / 1.392 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/1.179, allocations: 4.637 MB / 1.396 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/1.18, allocations: 31.88 kB / 1.396 GB, free: 7.316 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/1.18, allocations: 31.98 kB / 1.396 GB, free: 7.285 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.0006324/1.181, allocations: 345.5 kB / 1.397 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/1.181, allocations: 103.4 kB / 1.397 GB, free: 6.836 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/1.181, allocations: 113.2 kB / 1.397 GB, free: 6.723 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.182, allocations: 4 kB / 1.397 GB, free: 6.719 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.182, allocations: 3.938 kB / 1.397 GB, free: 6.715 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/1.183, allocations: 0.7614 MB / 1.398 GB, free: 5.898 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/1.187, allocations: 1.996 MB / 1.4 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.187, allocations: 0 / 1.4 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/1.188, allocations: 151.8 kB / 1.4 GB, free: 3.652 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/1.188, allocations: 36.83 kB / 1.4 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/1.188, allocations: 16.38 kB / 1.4 GB, free: 3.598 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/1.19, allocations: 1.602 MB / 1.401 GB, free: 1.855 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.19, allocations: 8.094 kB / 1.401 GB, free: 1.848 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/1.191, allocations: 1.216 MB / 1.403 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/1.192, allocations: 264.3 kB / 1.403 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/1.192, allocations: 16 kB / 1.403 GB, free: 288 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/1.193, allocations: 46.48 kB / 1.403 GB, free: 244 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.194, allocations: 43.88 kB / 1.403 GB, free: 200 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.194, allocations: 31.98 kB / 1.403 GB, free: 168 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00103/1.195, allocations: 0.6161 MB / 1.404 GB, free: 15.55 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.41e-07/1.195, allocations: 0 / 1.404 GB, free: 15.55 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001487/1.196, allocations: 300 kB / 1.404 GB, free: 15.26 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.0005811/1.197, allocations: 198.8 kB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001903/1.199, allocations: 1.011 MB / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.199, allocations: 7.938 kB / 1.405 GB, free: 14.01 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007554/1.199, allocations: 454.1 kB / 1.405 GB, free: 13.55 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/1.203, allocations: 0.6493 MB / 1.406 GB, free: 12.92 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/1.207, allocations: 2.211 MB / 1.408 GB, free: 10.63 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/1.208, allocations: 1.163 MB / 1.409 GB, free: 9.441 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/1.208, allocations: 79.42 kB / 1.409 GB, free: 9.363 MB / 1.139 GB Notification: Performance of SimCode: time 1.142e-06/1.208, allocations: 0 / 1.409 GB, free: 9.363 MB / 1.139 GB Notification: Performance of Templates: time 0.03964/1.248, allocations: 27.01 MB / 1.436 GB, free: 14.49 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]