Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 214.4 kB / 23.04 MB, free: 4.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.099/3.099, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 69.36 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2013/0.5534, allocations: 168.5 MB / 1.492 GB, free: 7.859 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009409/0.5628, allocations: 5.427 MB / 1.497 GB, free: 2.422 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.564, allocations: 55.56 kB / 1.497 GB, free: 2.367 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5656, allocations: 0.5474 MB / 1.498 GB, free: 1.816 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.5704, allocations: 1.91 MB / 1.499 GB, free: 15.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.5735, allocations: 1.203 MB / 1.501 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003963/0.5774, allocations: 3.009 MB / 1.504 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.5787, allocations: 0.8165 MB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.581, allocations: 1.324 MB / 1.506 GB, free: 9.52 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.583, allocations: 0.9909 MB / 1.507 GB, free: 8.531 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.5832, allocations: 124 kB / 1.507 GB, free: 8.41 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.5855, allocations: 1.192 MB / 1.508 GB, free: 7.215 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006063/0.5861, allocations: 0.5843 MB / 1.508 GB, free: 6.629 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007084/0.5868, allocations: 0.6108 MB / 1.509 GB, free: 6.016 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.5898, allocations: 2.309 MB / 1.511 GB, free: 3.699 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5898, allocations: 0 / 1.511 GB, free: 3.699 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5898, allocations: 0 / 1.511 GB, free: 3.699 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.5899, allocations: 4 kB / 1.511 GB, free: 3.695 MB / 1.201 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.002719/0.5926, allocations: 1.578 MB / 1.513 GB, free: 2.078 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5926, allocations: 11.97 kB / 1.513 GB, free: 2.066 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.5946, allocations: 338.9 kB / 1.513 GB, free: 1.734 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.5963, allocations: 0.8422 MB / 1.514 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.5964, allocations: 74 kB / 1.514 GB, free: 0.793 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5965, allocations: 99.98 kB / 1.514 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.5986, allocations: 1.537 MB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5987, allocations: 0 / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.5988, allocations: 44 kB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.5988, allocations: 41.98 kB / 1.516 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.6005, allocations: 0.9837 MB / 1.517 GB, free: 13.97 MB / 1.217 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.00572/0.6063, allocations: 2.726 MB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/0.6072, allocations: 0.5668 MB / 1.52 GB, free: 10.62 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.6077, allocations: 322.5 kB / 1.52 GB, free: 10.3 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.6079, allocations: 24.42 kB / 1.52 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.6079, allocations: 43 kB / 1.52 GB, free: 10.22 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.464e-06/0.6079, allocations: 0 / 1.52 GB, free: 10.22 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.003983/0.6119, allocations: 1.896 MB / 1.522 GB, free: 8.289 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.6119, allocations: 59.91 kB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/0.6128, allocations: 0.7035 MB / 1.523 GB, free: 7.504 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.6129, allocations: 41.7 kB / 1.523 GB, free: 7.457 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.6133, allocations: 0.5312 MB / 1.523 GB, free: 6.918 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.6135, allocations: 206.2 kB / 1.524 GB, free: 6.715 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.6137, allocations: 134.6 kB / 1.524 GB, free: 6.578 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6139, allocations: 382.8 kB / 1.524 GB, free: 6.195 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.6144, allocations: 289.8 kB / 1.524 GB, free: 5.91 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.6151, allocations: 490 kB / 1.525 GB, free: 5.371 MB / 1.217 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.004035/0.6191, allocations: 1.672 MB / 1.527 GB, free: 3.648 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6191, allocations: 0 / 1.527 GB, free: 3.648 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0016/0.6207, allocations: 0.9131 MB / 1.527 GB, free: 2.719 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6208, allocations: 7.938 kB / 1.527 GB, free: 2.711 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6208, allocations: 4 kB / 1.527 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.621, allocations: 102.5 kB / 1.528 GB, free: 2.598 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.6217, allocations: 168 kB / 1.528 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.6255, allocations: 4.254 MB / 1.532 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/0.6263, allocations: 32.36 kB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.6264, allocations: 24 kB / 1.532 GB, free: 13.82 MB / 1.232 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.0005937/0.627, allocations: 345.5 kB / 1.532 GB, free: 13.47 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6272, allocations: 91.42 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.6274, allocations: 95.73 kB / 1.532 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6274, allocations: 8 kB / 1.532 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6274, allocations: 0 / 1.532 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.6285, allocations: 0.7638 MB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.6317, allocations: 1.705 MB / 1.535 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.6318, allocations: 4 kB / 1.535 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/0.6324, allocations: 151.8 kB / 1.535 GB, free: 10.53 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.6325, allocations: 36.78 kB / 1.535 GB, free: 10.49 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.6326, allocations: 19.98 kB / 1.535 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.6339, allocations: 1.479 MB / 1.536 GB, free: 8.883 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6339, allocations: 4 kB / 1.536 GB, free: 8.879 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6358, allocations: 1.191 MB / 1.538 GB, free: 7.629 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.6363, allocations: 163.4 kB / 1.538 GB, free: 7.469 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.6364, allocations: 16 kB / 1.538 GB, free: 7.453 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.637, allocations: 32.66 kB / 1.538 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6372, allocations: 51.8 kB / 1.538 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.6372, allocations: 27.98 kB / 1.538 GB, free: 7.344 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006172/0.6378, allocations: 487 kB / 1.538 GB, free: 6.871 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6378, allocations: 0 / 1.538 GB, free: 6.871 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000984/0.6388, allocations: 303.9 kB / 1.539 GB, free: 6.574 MB / 1.232 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.0003389/0.6392, allocations: 187.2 kB / 1.539 GB, free: 6.383 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.6407, allocations: 0.9763 MB / 1.54 GB, free: 5.367 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6407, allocations: 4.062 kB / 1.54 GB, free: 5.363 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.6414, allocations: 442.1 kB / 1.54 GB, free: 4.918 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.6437, allocations: 0.5247 MB / 1.541 GB, free: 4.41 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.6473, allocations: 2.201 MB / 1.543 GB, free: 2.133 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.6479, allocations: 0.5737 MB / 1.543 GB, free: 1.527 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.6482, allocations: 71.42 kB / 1.544 GB, free: 1.457 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/0.6482, allocations: 0 / 1.544 GB, free: 1.457 MB / 1.232 GB Notification: Performance of Templates: time 0.03517/0.6833, allocations: 25.76 MB / 1.569 GB, free: 7.797 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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] [Calling sys.exit(0), Time elapsed: 14.552179416175932]