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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.028 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 151.6 MB / 1.176 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8903/1.22, allocations: 190.5 MB / 1.362 GB, free: 2.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.231, allocations: 5.7 MB / 1.367 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/1.233, allocations: 41.31 kB / 1.367 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/1.235, allocations: 0.5704 MB / 1.368 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006122/1.241, allocations: 1.835 MB / 1.37 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/1.245, allocations: 1.174 MB / 1.371 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005466/1.25, allocations: 2.963 MB / 1.374 GB, free: 11.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/1.253, allocations: 1.116 MB / 1.375 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/1.256, allocations: 1.057 MB / 1.376 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/1.259, allocations: 0.9595 MB / 1.377 GB, free: 9.578 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003247/1.259, allocations: 122.6 kB / 1.377 GB, free: 9.578 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/1.263, allocations: 1.443 MB / 1.378 GB, free: 8.816 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009125/1.264, allocations: 0.5758 MB / 1.379 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/1.266, allocations: 0.7206 MB / 1.38 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005118/1.271, allocations: 2.343 MB / 1.382 GB, free: 6.449 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.271, allocations: 0 / 1.382 GB, free: 6.449 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.984e-06/1.271, allocations: 5.688 kB / 1.382 GB, free: 6.445 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.216e-05/1.271, allocations: 0 / 1.382 GB, free: 6.445 MB / 1.045 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.003147/1.274, allocations: 1.661 MB / 1.384 GB, free: 5.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.274, allocations: 13.58 kB / 1.384 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/1.276, allocations: 335.9 kB / 1.384 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.278, allocations: 0.9162 MB / 1.385 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/1.278, allocations: 74.34 kB / 1.385 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.278, allocations: 105.4 kB / 1.385 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.28, allocations: 1.079 MB / 1.386 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/1.28, allocations: 15.91 kB / 1.386 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.28, allocations: 38.53 kB / 1.386 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/1.281, allocations: 40.22 kB / 1.386 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.282, allocations: 0.995 MB / 1.387 GB, free: 3.145 MB / 1.045 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.006925/1.289, allocations: 4.224 MB / 1.391 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/1.29, allocations: 0.591 MB / 1.392 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/1.291, allocations: 350.1 kB / 1.392 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/1.291, allocations: 110.5 kB / 1.392 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/1.291, allocations: 40.91 kB / 1.392 GB, free: 15.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/1.291, allocations: 3.938 kB / 1.392 GB, free: 15.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=55): time 0.004362/1.295, allocations: 2.216 MB / 1.395 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/1.295, allocations: 57.12 kB / 1.395 GB, free: 13.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.297, allocations: 0.8885 MB / 1.395 GB, free: 13.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/1.297, allocations: 41.05 kB / 1.395 GB, free: 13.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/1.297, allocations: 0.515 MB / 1.396 GB, free: 12.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/1.297, allocations: 207 kB / 1.396 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/1.298, allocations: 132.3 kB / 1.396 GB, free: 12.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.298, allocations: 332 kB / 1.397 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/1.298, allocations: 291.2 kB / 1.397 GB, free: 11.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/1.299, allocations: 436.1 kB / 1.397 GB, free: 11.53 MB / 1.061 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.004012/1.303, allocations: 1.74 MB / 1.399 GB, free: 10.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.303, allocations: 0 / 1.399 GB, free: 10.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00165/1.305, allocations: 0.9335 MB / 1.4 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.305, allocations: 7.688 kB / 1.4 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.305, allocations: 6.469 kB / 1.4 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/1.305, allocations: 102.7 kB / 1.4 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/1.306, allocations: 162.2 kB / 1.4 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/1.31, allocations: 4.633 MB / 1.405 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.311, allocations: 36.56 kB / 1.405 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/1.311, allocations: 24.66 kB / 1.405 GB, free: 5.32 MB / 1.061 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.0006323/1.312, allocations: 347.4 kB / 1.405 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/1.312, allocations: 115.9 kB / 1.405 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/1.312, allocations: 111.6 kB / 1.405 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.312, allocations: 7.094 kB / 1.405 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.312, allocations: 0 / 1.405 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/1.313, allocations: 0.7611 MB / 1.406 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/1.316, allocations: 1.993 MB / 1.408 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/1.316, allocations: 5.25 kB / 1.408 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/1.317, allocations: 140.3 kB / 1.408 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/1.317, allocations: 49.52 kB / 1.408 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/1.317, allocations: 15.25 kB / 1.408 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.319, allocations: 1.604 MB / 1.41 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.319, allocations: 4.562 kB / 1.41 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/1.32, allocations: 1.204 MB / 1.411 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/1.321, allocations: 260 kB / 1.411 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.321, allocations: 18.72 kB / 1.411 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/1.322, allocations: 34.81 kB / 1.411 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.322, allocations: 51.38 kB / 1.411 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/1.322, allocations: 36.73 kB / 1.411 GB, free: 360 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008029/1.323, allocations: 0.6193 MB / 1.412 GB, free: 8 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.323, allocations: 0 / 1.412 GB, free: 8 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009421/1.324, allocations: 306.1 kB / 1.412 GB, free: 15.98 MB / 1.076 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.0004683/1.324, allocations: 187.4 kB / 1.412 GB, free: 15.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001607/1.326, allocations: 1.016 MB / 1.413 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.326, allocations: 1.938 kB / 1.413 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/1.327, allocations: 449.6 kB / 1.414 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/1.33, allocations: 0.6531 MB / 1.414 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/1.334, allocations: 2.207 MB / 1.417 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.335, allocations: 1.17 MB / 1.418 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/1.335, allocations: 79.44 kB / 1.418 GB, free: 10.69 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.335, allocations: 0 / 1.418 GB, free: 10.69 MB / 1.076 GB Notification: Performance of Templates: time 0.03807/1.373, allocations: 27.02 MB / 1.444 GB, free: 15.82 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.651958325062878]