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.001327/0.001327, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001294/0.001294, allocations: 194.1 kB / 16.91 MB, free: 6.184 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.555/2.555, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 64.55 kB / 0.8694 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3066, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7174/1.024, allocations: 188 MB / 1.201 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01031/1.034, allocations: 5.679 MB / 1.207 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/1.036, allocations: 36.03 kB / 1.207 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/1.038, allocations: 0.5076 MB / 1.207 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/1.043, allocations: 1.711 MB / 1.209 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/1.046, allocations: 1.083 MB / 1.21 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004006/1.05, allocations: 2.957 MB / 1.213 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/1.052, allocations: 1.1 MB / 1.214 GB, free: 14.22 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/1.054, allocations: 1.056 MB / 1.215 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/1.056, allocations: 1.029 MB / 1.216 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/1.057, allocations: 124 kB / 1.216 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/1.06, allocations: 1.521 MB / 1.217 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007001/1.061, allocations: 0.5739 MB / 1.218 GB, free: 11.85 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001/1.062, allocations: 0.7271 MB / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/1.064, allocations: 1.784 MB / 1.22 GB, free: 9.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.064, allocations: 0 / 1.22 GB, free: 9.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/1.064, allocations: 4 kB / 1.22 GB, free: 9.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.625e-05/1.064, allocations: 0 / 1.22 GB, free: 9.957 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003049/1.067, allocations: 1.613 MB / 1.222 GB, free: 8.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.067, allocations: 12.88 kB / 1.222 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/1.069, allocations: 334.2 kB / 1.222 GB, free: 7.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/1.071, allocations: 0.8668 MB / 1.223 GB, free: 7.043 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/1.071, allocations: 74 kB / 1.223 GB, free: 6.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.071, allocations: 96 kB / 1.223 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/1.073, allocations: 1.096 MB / 1.224 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.073, allocations: 3.984 kB / 1.224 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.074, allocations: 40 kB / 1.225 GB, free: 5.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/1.074, allocations: 38 kB / 1.225 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/1.075, allocations: 0.9993 MB / 1.226 GB, free: 4.691 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.007139/1.083, allocations: 4.235 MB / 1.23 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.084, allocations: 0.6007 MB / 1.23 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/1.084, allocations: 339.1 kB / 1.231 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.085, allocations: 113.5 kB / 1.231 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.085, allocations: 43 kB / 1.231 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/1.085, allocations: 0 / 1.231 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=55): time 0.00498/1.09, allocations: 2.201 MB / 1.233 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/1.09, allocations: 63.91 kB / 1.233 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.091, allocations: 0.8842 MB / 1.234 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.091, allocations: 45.7 kB / 1.234 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/1.092, allocations: 0.5107 MB / 1.234 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/1.092, allocations: 189.2 kB / 1.235 GB, free: 11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.092, allocations: 130.6 kB / 1.235 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.093, allocations: 334 kB / 1.235 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/1.093, allocations: 285.8 kB / 1.235 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/1.094, allocations: 440.8 kB / 1.236 GB, free: 9.77 MB / 0.9356 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.004306/1.098, allocations: 1.746 MB / 1.237 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.098, allocations: 4 kB / 1.237 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001907/1.1, allocations: 0.9218 MB / 1.238 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.1, allocations: 7.938 kB / 1.238 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.1, allocations: 4 kB / 1.238 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/1.1, allocations: 107 kB / 1.238 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/1.101, allocations: 159.8 kB / 1.239 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/1.106, allocations: 4.631 MB / 1.243 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.107, allocations: 75.86 kB / 1.243 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.107, allocations: 28 kB / 1.243 GB, free: 1.578 MB / 0.9356 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.0007855/1.108, allocations: 350 kB / 1.243 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/1.108, allocations: 98.88 kB / 1.244 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/1.109, allocations: 105.2 kB / 1.244 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.109, allocations: 8 kB / 1.244 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.109, allocations: 0 / 1.244 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/1.11, allocations: 0.7691 MB / 1.244 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/1.114, allocations: 1.992 MB / 1.246 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.114, allocations: 4 kB / 1.246 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/1.115, allocations: 143.8 kB / 1.247 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/1.115, allocations: 40.83 kB / 1.247 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/1.115, allocations: 19.98 kB / 1.247 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/1.117, allocations: 1.605 MB / 1.248 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.117, allocations: 4 kB / 1.248 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/1.119, allocations: 1.207 MB / 1.249 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/1.119, allocations: 259.8 kB / 1.25 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/1.119, allocations: 19.92 kB / 1.25 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/1.12, allocations: 68.72 kB / 1.25 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.121, allocations: 43.83 kB / 1.25 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/1.121, allocations: 39.91 kB / 1.25 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001035/1.122, allocations: 0.6161 MB / 1.25 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.122, allocations: 0 / 1.25 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00123/1.123, allocations: 304 kB / 1.251 GB, free: 9.531 MB / 0.9512 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.0005924/1.124, allocations: 202.1 kB / 1.251 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002128/1.126, allocations: 1.105 MB / 1.252 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.126, allocations: 8.312 kB / 1.252 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/1.126, allocations: 442.3 kB / 1.252 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.13, allocations: 0.6487 MB / 1.253 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/1.134, allocations: 2.607 MB / 1.256 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.136, allocations: 1.166 MB / 1.257 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/1.136, allocations: 83.36 kB / 1.257 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of SimCode: time 1.243e-06/1.136, allocations: 0 / 1.257 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of Templates: time 0.04207/1.178, allocations: 26.92 MB / 1.283 GB, free: 8.363 MB / 0.9825 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=400 -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]